pub struct CMsgClientPICSChangesSinceResponse {
pub current_change_number: Option<u32>,
pub since_change_number: Option<u32>,
pub force_full_update: Option<bool>,
pub package_changes: Vec<PackageChange>,
pub app_changes: Vec<AppChange>,
pub force_full_app_update: Option<bool>,
pub force_full_package_update: Option<bool>,
}Expand description
PICS changes since response
Fields§
§current_change_number: Option<u32>§since_change_number: Option<u32>§force_full_update: Option<bool>§package_changes: Vec<PackageChange>§app_changes: Vec<AppChange>§force_full_app_update: Option<bool>§force_full_package_update: Option<bool>Implementations§
Source§impl CMsgClientPICSChangesSinceResponse
impl CMsgClientPICSChangesSinceResponse
Sourcepub fn current_change_number(&self) -> u32
pub fn current_change_number(&self) -> u32
Returns the value of current_change_number, or the default value if current_change_number is unset.
Sourcepub fn since_change_number(&self) -> u32
pub fn since_change_number(&self) -> u32
Returns the value of since_change_number, or the default value if since_change_number is unset.
Sourcepub fn force_full_update(&self) -> bool
pub fn force_full_update(&self) -> bool
Returns the value of force_full_update, or the default value if force_full_update is unset.
Sourcepub fn force_full_app_update(&self) -> bool
pub fn force_full_app_update(&self) -> bool
Returns the value of force_full_app_update, or the default value if force_full_app_update is unset.
Sourcepub fn force_full_package_update(&self) -> bool
pub fn force_full_package_update(&self) -> bool
Returns the value of force_full_package_update, or the default value if force_full_package_update is unset.
Trait Implementations§
Source§impl Clone for CMsgClientPICSChangesSinceResponse
impl Clone for CMsgClientPICSChangesSinceResponse
Source§fn clone(&self) -> CMsgClientPICSChangesSinceResponse
fn clone(&self) -> CMsgClientPICSChangesSinceResponse
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 Message for CMsgClientPICSChangesSinceResponse
impl Message for CMsgClientPICSChangesSinceResponse
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.Source§impl PartialEq for CMsgClientPICSChangesSinceResponse
impl PartialEq for CMsgClientPICSChangesSinceResponse
Source§fn eq(&self, other: &CMsgClientPICSChangesSinceResponse) -> bool
fn eq(&self, other: &CMsgClientPICSChangesSinceResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CMsgClientPICSChangesSinceResponse
Auto Trait Implementations§
impl Freeze for CMsgClientPICSChangesSinceResponse
impl RefUnwindSafe for CMsgClientPICSChangesSinceResponse
impl Send for CMsgClientPICSChangesSinceResponse
impl Sync for CMsgClientPICSChangesSinceResponse
impl Unpin for CMsgClientPICSChangesSinceResponse
impl UnsafeUnpin for CMsgClientPICSChangesSinceResponse
impl UnwindSafe for CMsgClientPICSChangesSinceResponse
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