pub enum BlockContent {
V0(BlockContentV0),
}
Expand description
Immutable object with encrypted content
Variants§
V0(BlockContentV0)
Implementations§
Source§impl BlockContent
impl BlockContent
pub fn commit_header_obj(&self) -> &CommitHeaderObject
Trait Implementations§
Source§impl Clone for BlockContent
impl Clone for BlockContent
Source§fn clone(&self) -> BlockContent
fn clone(&self) -> BlockContent
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BlockContent
impl Debug for BlockContent
Source§impl<'de> Deserialize<'de> for BlockContent
impl<'de> Deserialize<'de> for BlockContent
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
Source§impl PartialEq for BlockContent
impl PartialEq for BlockContent
Source§impl Serialize for BlockContent
impl Serialize for BlockContent
impl Eq for BlockContent
impl StructuralPartialEq for BlockContent
Auto Trait Implementations§
impl Freeze for BlockContent
impl RefUnwindSafe for BlockContent
impl Send for BlockContent
impl Sync for BlockContent
impl Unpin for BlockContent
impl UnwindSafe for BlockContent
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