#[repr(C)]pub struct C4RawDocument {
pub key: C4String,
pub meta: C4String,
pub body: C4String,
}Expand description
Contents of a raw document.
Fields§
§key: C4String< The key (document ID)
meta: C4String< Metadata (usage is up to the caller)
body: C4String< Body data
Trait Implementations§
Source§impl Clone for C4RawDocument
impl Clone for C4RawDocument
Source§fn clone(&self) -> C4RawDocument
fn clone(&self) -> C4RawDocument
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for C4RawDocument
impl Debug for C4RawDocument
impl Copy for C4RawDocument
Auto Trait Implementations§
impl Freeze for C4RawDocument
impl RefUnwindSafe for C4RawDocument
impl !Send for C4RawDocument
impl !Sync for C4RawDocument
impl Unpin for C4RawDocument
impl UnsafeUnpin for C4RawDocument
impl UnwindSafe for C4RawDocument
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