Struct cyfs_base::SimpleGroupBodyContent
source · [−]pub struct SimpleGroupBodyContent { /* private fields */ }
Implementations
sourceimpl SimpleGroupBodyContent
impl SimpleGroupBodyContent
pub fn new(
members: Vec<ObjectId>,
ood_work_mode: OODWorkMode,
ood_list: Vec<DeviceId>
) -> Self
pub fn members(&self) -> &Vec<ObjectId>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn members_mut(&mut self) -> &mut Vec<ObjectId>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn ood_list(&self) -> &Vec<DeviceId>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn ood_list_mut(&mut self) -> &mut Vec<DeviceId>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn ood_work_mode(&self) -> OODWorkMode
pub fn set_ood_work_mode(&mut self, ood_work_mode: OODWorkMode)
Trait Implementations
sourceimpl BodyContent for SimpleGroupBodyContent
impl BodyContent for SimpleGroupBodyContent
sourceimpl Clone for SimpleGroupBodyContent
impl Clone for SimpleGroupBodyContent
sourcefn clone(&self) -> SimpleGroupBodyContent
fn clone(&self) -> SimpleGroupBodyContent
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 SimpleGroupBodyContent
impl Debug for SimpleGroupBodyContent
sourceimpl ObjectFormat for SimpleGroupBodyContent
impl ObjectFormat for SimpleGroupBodyContent
fn format_json(&self) -> Value
sourceimpl<'de> RawDecode<'de> for SimpleGroupBodyContent
impl<'de> RawDecode<'de> for SimpleGroupBodyContent
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 SimpleGroupBodyContent
impl RawEncode for SimpleGroupBodyContent
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 SimpleGroupBodyContent
impl Send for SimpleGroupBodyContent
impl Sync for SimpleGroupBodyContent
impl Unpin for SimpleGroupBodyContent
impl UnwindSafe for SimpleGroupBodyContent
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