Struct cyfs_base::ObjectLink
source · [−]Fields
obj_id: ObjectId
obj_owner: Option<ObjectId>
Trait Implementations
sourceimpl Clone for ObjectLink
impl Clone for ObjectLink
sourcefn clone(&self) -> ObjectLink
fn clone(&self) -> ObjectLink
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 ObjectLink
impl Debug for ObjectLink
sourceimpl ObjectFormat for ObjectLink
impl ObjectFormat for ObjectLink
fn format_json(&self) -> Value
sourceimpl PartialEq<ObjectLink> for ObjectLink
impl PartialEq<ObjectLink> for ObjectLink
sourcefn eq(&self, other: &ObjectLink) -> bool
fn eq(&self, other: &ObjectLink) -> bool
sourceimpl<'de> RawDecode<'de> for ObjectLink
impl<'de> RawDecode<'de> for ObjectLink
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 ObjectLink
impl RawEncode for ObjectLink
fn raw_measure(
&self,
purpose: &Option<RawEncodePurpose>
) -> Result<usize, BuckyError>
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 ObjectLink
impl StructuralEq for ObjectLink
impl StructuralPartialEq for ObjectLink
Auto Trait Implementations
impl RefUnwindSafe for ObjectLink
impl Send for ObjectLink
impl Sync for ObjectLink
impl Unpin for ObjectLink
impl UnwindSafe for ObjectLink
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