Struct bonsaidb_core::networking::Get
source · pub struct Get {
pub database: String,
pub collection: CollectionName,
pub id: DocumentId,
}
Expand description
Retrieve a single document.
Fields§
§database: String
The name of the database.
collection: CollectionName
The collection of the document.
id: DocumentId
The id of the document.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Get
impl<'de> Deserialize<'de> for Get
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Get
impl Send for Get
impl Sync for Get
impl Unpin for Get
impl UnwindSafe for Get
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more