pub struct SyncResponseObjectMetaInfo {
pub insert_time: u64,
pub create_dec_id: Option<Vec<u8>>,
pub context: Option<String>,
pub last_access_rpath: Option<String>,
pub access_string: Option<u32>,
}
Fields§
§insert_time: u64
§create_dec_id: Option<Vec<u8>>
§context: Option<String>
§last_access_rpath: Option<String>
§access_string: Option<u32>
Implementations§
Source§impl SyncResponseObjectMetaInfo
impl SyncResponseObjectMetaInfo
Sourcepub fn create_dec_id(&self) -> &[u8] ⓘ
pub fn create_dec_id(&self) -> &[u8] ⓘ
Returns the value of create_dec_id
, or the default value if create_dec_id
is unset.
Sourcepub fn context(&self) -> &str
pub fn context(&self) -> &str
Returns the value of context
, or the default value if context
is unset.
Sourcepub fn last_access_rpath(&self) -> &str
pub fn last_access_rpath(&self) -> &str
Returns the value of last_access_rpath
, or the default value if last_access_rpath
is unset.
Sourcepub fn access_string(&self) -> u32
pub fn access_string(&self) -> u32
Returns the value of access_string
, or the default value if access_string
is unset.
Trait Implementations§
Source§impl Clone for SyncResponseObjectMetaInfo
impl Clone for SyncResponseObjectMetaInfo
Source§fn clone(&self) -> SyncResponseObjectMetaInfo
fn clone(&self) -> SyncResponseObjectMetaInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SyncResponseObjectMetaInfo
impl Debug for SyncResponseObjectMetaInfo
Source§impl Default for SyncResponseObjectMetaInfo
impl Default for SyncResponseObjectMetaInfo
Source§impl Message for SyncResponseObjectMetaInfo
impl Message for SyncResponseObjectMetaInfo
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.impl StructuralPartialEq for SyncResponseObjectMetaInfo
Auto Trait Implementations§
impl Freeze for SyncResponseObjectMetaInfo
impl RefUnwindSafe for SyncResponseObjectMetaInfo
impl Send for SyncResponseObjectMetaInfo
impl Sync for SyncResponseObjectMetaInfo
impl Unpin for SyncResponseObjectMetaInfo
impl UnwindSafe for SyncResponseObjectMetaInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more