Struct cyfs_base::TypelessObjectBodyContent
source · [−]pub struct TypelessObjectBodyContent { /* private fields */ }
Implementations
Trait Implementations
sourceimpl Clone for TypelessObjectBodyContent
impl Clone for TypelessObjectBodyContent
sourcefn clone(&self) -> TypelessObjectBodyContent
fn clone(&self) -> TypelessObjectBodyContent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TypelessObjectBodyContent
impl Debug for TypelessObjectBodyContent
sourceimpl ObjectFormat for TypelessObjectBodyContent
impl ObjectFormat for TypelessObjectBodyContent
fn format_json(&self) -> Value
sourceimpl Ord for TypelessObjectBodyContent
impl Ord for TypelessObjectBodyContent
sourceimpl PartialEq<TypelessObjectBodyContent> for TypelessObjectBodyContent
impl PartialEq<TypelessObjectBodyContent> for TypelessObjectBodyContent
sourcefn eq(&self, other: &TypelessObjectBodyContent) -> bool
fn eq(&self, other: &TypelessObjectBodyContent) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TypelessObjectBodyContent) -> bool
fn ne(&self, other: &TypelessObjectBodyContent) -> bool
This method tests for !=
.
sourceimpl PartialOrd<TypelessObjectBodyContent> for TypelessObjectBodyContent
impl PartialOrd<TypelessObjectBodyContent> for TypelessObjectBodyContent
sourcefn partial_cmp(&self, other: &TypelessObjectBodyContent) -> Option<Ordering>
fn partial_cmp(&self, other: &TypelessObjectBodyContent) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'de> RawDecode<'de> for TypelessObjectBodyContent
impl<'de> RawDecode<'de> for TypelessObjectBodyContent
fn raw_decode(buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>
fn raw_decode_with_option(
buf: &'de [u8],
opt: &RawDecodeOption
) -> BuckyResult<(Self, &'de [u8])>
sourceimpl RawEncode for TypelessObjectBodyContent
impl RawEncode for TypelessObjectBodyContent
fn raw_measure(&self, _purpose: &Option<RawEncodePurpose>) -> BuckyResult<usize>
fn raw_encode<'a>(
&self,
buf: &'a mut [u8],
_purpose: &Option<RawEncodePurpose>
) -> BuckyResult<&'a mut [u8]>
fn raw_tail_encode<'a>(
&self,
buf: &'a mut [u8],
purpose: &Option<RawEncodePurpose>
) -> BuckyResult<&'a [u8]>
fn raw_encode_to_buffer(&self) -> BuckyResult<Vec<u8>>
fn raw_hash_value(&self) -> BuckyResult<HashValue>
fn hash_buf(&self, encoded_buf: &[u8]) -> HashValue
fn raw_hash_encode(&self) -> BuckyResult<Vec<u8>>
impl Eq for TypelessObjectBodyContent
impl StructuralEq for TypelessObjectBodyContent
impl StructuralPartialEq for TypelessObjectBodyContent
Auto Trait Implementations
impl RefUnwindSafe for TypelessObjectBodyContent
impl Send for TypelessObjectBodyContent
impl Sync for TypelessObjectBodyContent
impl Unpin for TypelessObjectBodyContent
impl UnwindSafe for TypelessObjectBodyContent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more