Struct cyfs_core::TransContextBodyContent
source · [−]pub struct TransContextBodyContent {
pub ref_id: Option<ObjectId>,
pub device_list: Vec<DeviceId>,
}Fields
ref_id: Option<ObjectId>device_list: Vec<DeviceId>Trait Implementations
sourceimpl BodyContent for TransContextBodyContent
impl BodyContent for TransContextBodyContent
sourceimpl Clone for TransContextBodyContent
impl Clone for TransContextBodyContent
sourcefn clone(&self) -> TransContextBodyContent
fn clone(&self) -> TransContextBodyContent
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 more
sourceimpl ProtobufTransform<&'_ TransContextBodyContent> for TransContextBodyContent
impl ProtobufTransform<&'_ TransContextBodyContent> for TransContextBodyContent
fn transform(_value_: &TransContextBodyContent) -> BuckyResult<Self>
sourceimpl ProtobufTransform<&'_ TransContextBodyContent> for Option<TransContextBodyContent>
impl ProtobufTransform<&'_ TransContextBodyContent> for Option<TransContextBodyContent>
fn transform(_value_: &TransContextBodyContent) -> BuckyResult<Self>
sourceimpl ProtobufTransform<Option<TransContextBodyContent>> for TransContextBodyContent
impl ProtobufTransform<Option<TransContextBodyContent>> for TransContextBodyContent
fn transform(_value_: Option<TransContextBodyContent>) -> BuckyResult<Self>
sourceimpl ProtobufTransform<TransContextBodyContent> for TransContextBodyContent
impl ProtobufTransform<TransContextBodyContent> for TransContextBodyContent
fn transform(_value_: TransContextBodyContent) -> BuckyResult<Self>
sourceimpl<'__de__> RawDecode<'__de__> for TransContextBodyContent
impl<'__de__> RawDecode<'__de__> for TransContextBodyContent
fn raw_decode(__buf__: &'__de__ [u8]) -> BuckyResult<(Self, &'__de__ [u8])>
fn raw_decode_with_option(
buf: &'de [u8],
_opt: &RawDecodeOption
) -> Result<(Self, &'de [u8]), BuckyError>
sourceimpl RawEncode for TransContextBodyContent
impl RawEncode for TransContextBodyContent
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(
&self,
buf: &'a mut [u8],
purpose: &Option<RawEncodePurpose>
) -> Result<&'a [u8], BuckyError>
fn raw_encode_to_buffer(&self) -> Result<Vec<u8, Global>, BuckyError>
fn raw_hash_value(&self) -> Result<HashValue, BuckyError>
fn hash_buf(&self, encoded_buf: &[u8]) -> HashValue
fn raw_hash_encode(&self) -> Result<Vec<u8, Global>, BuckyError>
sourceimpl Serialize for TransContextBodyContent
impl Serialize for TransContextBodyContent
impl ObjectFormatAutoWithSerde for TransContextBodyContent
Auto Trait Implementations
impl RefUnwindSafe for TransContextBodyContent
impl Send for TransContextBodyContent
impl Sync for TransContextBodyContent
impl Unpin for TransContextBodyContent
impl UnwindSafe for TransContextBodyContent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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