pub struct Blob { /* private fields */ }Implementations§
Trait Implementations§
Source§impl BlobAccess for Blob
impl BlobAccess for Blob
fn get_blob(&self) -> &Blob
fn get_blob_mut(&mut self) -> &mut Blob
fn links(&self) -> &HashMap<String, Vec<BlobID>>
fn values(&self) -> &HashMap<String, String>
fn datas(&self) -> &HashMap<String, Bytes>
fn get_data(&self, key: &str) -> Option<&Bytes>
fn set_data(&mut self, key: String, value: Bytes)
fn links_mut(&mut self) -> &mut HashMap<String, Vec<BlobID>>
fn values_mut(&mut self) -> &mut HashMap<String, String>
fn datas_mut(&mut self) -> &mut HashMap<String, Bytes>
Source§impl BlobFamily for Blob
impl BlobFamily for Blob
fn set_parents(&mut self, parents: Vec<BlobID>)
fn add_parent(&mut self, parent: BlobID)
fn rm_parent(&mut self, parent: &BlobID)
fn get_parents(&self) -> Vec<BlobID>
fn set_children(&mut self, children: Vec<BlobID>)
fn add_child(&mut self, child: BlobID)
fn rm_child(&mut self, child: &BlobID)
fn get_children(&self) -> Vec<BlobID>
Source§impl<'de> Deserialize<'de> for Blob
impl<'de> Deserialize<'de> for Blob
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
impl StructuralPartialEq for Blob
Auto Trait Implementations§
impl Freeze for Blob
impl RefUnwindSafe for Blob
impl Send for Blob
impl Sync for Blob
impl Unpin for Blob
impl UnwindSafe for Blob
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more