pub struct CloudSyncFinishResponse {
pub accepted: u64,
}Expand description
CloudSyncFinishResponse is the acknowledgement whether the device accepted the cloud sync from the server or rejected for some reason.
Fields§
§accepted: u64Timestamp that was accepted and set
Trait Implementations§
Source§impl Clone for CloudSyncFinishResponse
impl Clone for CloudSyncFinishResponse
Source§fn clone(&self) -> CloudSyncFinishResponse
fn clone(&self) -> CloudSyncFinishResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CloudSyncFinishResponse
Source§impl Debug for CloudSyncFinishResponse
impl Debug for CloudSyncFinishResponse
Source§impl Default for CloudSyncFinishResponse
impl Default for CloudSyncFinishResponse
impl Eq for CloudSyncFinishResponse
Source§impl From<CloudSyncFinishResponse> for Message
impl From<CloudSyncFinishResponse> for Message
Source§fn from(message: CloudSyncFinishResponse) -> Self
fn from(message: CloudSyncFinishResponse) -> Self
Wraps a concrete payload in its corresponding message variant.
Source§impl Hash for CloudSyncFinishResponse
impl Hash for CloudSyncFinishResponse
Source§impl Message for CloudSyncFinishResponse
impl Message for CloudSyncFinishResponse
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(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for CloudSyncFinishResponse
impl PartialEq for CloudSyncFinishResponse
impl StructuralPartialEq for CloudSyncFinishResponse
Auto Trait Implementations§
impl Freeze for CloudSyncFinishResponse
impl RefUnwindSafe for CloudSyncFinishResponse
impl Send for CloudSyncFinishResponse
impl Sync for CloudSyncFinishResponse
impl Unpin for CloudSyncFinishResponse
impl UnsafeUnpin for CloudSyncFinishResponse
impl UnwindSafe for CloudSyncFinishResponse
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