pub struct DocumentRef {
pub content_hash: HashValue,
pub filename: Option<String>,
pub byte_length: u64,
pub char_count: u64,
}Fields§
§content_hash: HashValue§filename: Option<String>§byte_length: u64§char_count: u64Trait Implementations§
Source§impl Clone for DocumentRef
impl Clone for DocumentRef
Source§fn clone(&self) -> DocumentRef
fn clone(&self) -> DocumentRef
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 DocumentRef
impl Debug for DocumentRef
Source§impl<'de> Deserialize<'de> for DocumentRef
impl<'de> Deserialize<'de> for DocumentRef
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 Freeze for DocumentRef
impl RefUnwindSafe for DocumentRef
impl Send for DocumentRef
impl Sync for DocumentRef
impl Unpin for DocumentRef
impl UnsafeUnpin for DocumentRef
impl UnwindSafe for DocumentRef
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