pub enum ObjectMapSimpleContentType {
Map,
DiffMap,
Set,
DiffSet,
}
Variants
Map
DiffMap
Set
DiffSet
Implementations
sourceimpl ObjectMapSimpleContentType
impl ObjectMapSimpleContentType
pub fn get_diff_type(&self) -> Option<ObjectMapSimpleContentType>
pub fn is_diff_match(&self, diff_content_type: &Self) -> bool
pub fn as_str(&self) -> &str
Trait Implementations
sourceimpl Clone for ObjectMapSimpleContentType
impl Clone for ObjectMapSimpleContentType
sourcefn clone(&self) -> ObjectMapSimpleContentType
fn clone(&self) -> ObjectMapSimpleContentType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ObjectMapSimpleContentType
impl Debug for ObjectMapSimpleContentType
sourceimpl FromStr for ObjectMapSimpleContentType
impl FromStr for ObjectMapSimpleContentType
sourceimpl PartialEq<ObjectMapSimpleContentType> for ObjectMapSimpleContentType
impl PartialEq<ObjectMapSimpleContentType> for ObjectMapSimpleContentType
sourcefn eq(&self, other: &ObjectMapSimpleContentType) -> bool
fn eq(&self, other: &ObjectMapSimpleContentType) -> bool
sourceimpl<'__de__> RawDecode<'__de__> for ObjectMapSimpleContentType
impl<'__de__> RawDecode<'__de__> for ObjectMapSimpleContentType
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 ObjectMapSimpleContentType
impl RawEncode for ObjectMapSimpleContentType
fn raw_encode<'__de__>(
&self,
__buf__: &'__de__ mut [u8],
__purpose__: &Option<RawEncodePurpose>
) -> BuckyResult<&'__de__ mut [u8]>
fn raw_measure(
&self,
__purpose__: &Option<RawEncodePurpose>
) -> BuckyResult<usize>
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>>
sourceimpl ToString for ObjectMapSimpleContentType
impl ToString for ObjectMapSimpleContentType
impl Copy for ObjectMapSimpleContentType
impl Eq for ObjectMapSimpleContentType
impl StructuralEq for ObjectMapSimpleContentType
impl StructuralPartialEq for ObjectMapSimpleContentType
Auto Trait Implementations
impl RefUnwindSafe for ObjectMapSimpleContentType
impl Send for ObjectMapSimpleContentType
impl Sync for ObjectMapSimpleContentType
impl Unpin for ObjectMapSimpleContentType
impl UnwindSafe for ObjectMapSimpleContentType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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