Struct cyfs_base::OrgBodyContent
source · [−]pub struct OrgBodyContent {
pub members: Vec<OrgMember>,
pub directors: Vec<Director>,
pub total_equity: u64,
}
Fields
members: Vec<OrgMember>
directors: Vec<Director>
total_equity: u64
Trait Implementations
sourceimpl BodyContent for OrgBodyContent
impl BodyContent for OrgBodyContent
sourceimpl Clone for OrgBodyContent
impl Clone for OrgBodyContent
sourcefn clone(&self) -> OrgBodyContent
fn clone(&self) -> OrgBodyContent
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 moresourceimpl Debug for OrgBodyContent
impl Debug for OrgBodyContent
sourceimpl<'de> RawDecode<'de> for OrgBodyContent
impl<'de> RawDecode<'de> for OrgBodyContent
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 OrgBodyContent
impl RawEncode for OrgBodyContent
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>>
sourceimpl Serialize for OrgBodyContent
impl Serialize for OrgBodyContent
impl ObjectFormatAutoWithSerde for OrgBodyContent
Auto Trait Implementations
impl RefUnwindSafe for OrgBodyContent
impl Send for OrgBodyContent
impl Sync for OrgBodyContent
impl Unpin for OrgBodyContent
impl UnwindSafe for OrgBodyContent
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