Struct cyfs_base::DirDescContent
source · [−]pub struct DirDescContent { /* private fields */ }
Implementations
sourceimpl DirDescContent
impl DirDescContent
pub fn new(attributes: Attributes, obj_list: NDNObjectInfo) -> Self
pub fn attributes(&self) -> &Attributes
pub fn obj_list(&self) -> &NDNObjectInfo
Trait Implementations
sourceimpl Clone for DirDescContent
impl Clone for DirDescContent
sourcefn clone(&self) -> DirDescContent
fn clone(&self) -> DirDescContent
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 DirDescContent
impl Debug for DirDescContent
sourceimpl DescContent for DirDescContent
impl DescContent for DirDescContent
fn obj_type() -> u16
type OwnerType = Option<ObjectId>
type AreaType = SubDescNone
type AuthorType = Option<ObjectId>
type PublicKeyType = SubDescNone
fn obj_type_code() -> ObjectTypeCode
fn desc_content_type() -> DescContentType
fn is_standard_object() -> bool
fn is_core_object() -> bool
fn is_decapp_object() -> bool
fn debug_info() -> String
fn version(&self) -> u8
fn format(&self) -> u8
sourceimpl ObjectFormat for DirDescContent
impl ObjectFormat for DirDescContent
fn format_json(&self) -> Value
sourceimpl<'__de__> RawDecode<'__de__> for DirDescContent
impl<'__de__> RawDecode<'__de__> for DirDescContent
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 DirDescContent
impl RawEncode for DirDescContent
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>>
Auto Trait Implementations
impl RefUnwindSafe for DirDescContent
impl Send for DirDescContent
impl Sync for DirDescContent
impl Unpin for DirDescContent
impl UnwindSafe for DirDescContent
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