pub struct CMsgClientIsLimitedAccount {
pub bis_limited_account: Option<bool>,
pub bis_community_banned: Option<bool>,
pub bis_locked_account: Option<bool>,
pub bis_limited_account_allowed_to_invite_friends: Option<bool>,
}Fields§
§bis_limited_account: Option<bool>§bis_community_banned: Option<bool>§bis_locked_account: Option<bool>§bis_limited_account_allowed_to_invite_friends: Option<bool>Implementations§
Source§impl CMsgClientIsLimitedAccount
impl CMsgClientIsLimitedAccount
Sourcepub fn bis_limited_account(&self) -> bool
pub fn bis_limited_account(&self) -> bool
Returns the value of bis_limited_account, or the default value if bis_limited_account is unset.
Sourcepub fn bis_community_banned(&self) -> bool
pub fn bis_community_banned(&self) -> bool
Returns the value of bis_community_banned, or the default value if bis_community_banned is unset.
Sourcepub fn bis_locked_account(&self) -> bool
pub fn bis_locked_account(&self) -> bool
Returns the value of bis_locked_account, or the default value if bis_locked_account is unset.
Sourcepub fn bis_limited_account_allowed_to_invite_friends(&self) -> bool
pub fn bis_limited_account_allowed_to_invite_friends(&self) -> bool
Returns the value of bis_limited_account_allowed_to_invite_friends, or the default value if bis_limited_account_allowed_to_invite_friends is unset.
Trait Implementations§
Source§impl Clone for CMsgClientIsLimitedAccount
impl Clone for CMsgClientIsLimitedAccount
Source§fn clone(&self) -> CMsgClientIsLimitedAccount
fn clone(&self) -> CMsgClientIsLimitedAccount
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 CMsgClientIsLimitedAccount
Source§impl Debug for CMsgClientIsLimitedAccount
impl Debug for CMsgClientIsLimitedAccount
Source§impl Default for CMsgClientIsLimitedAccount
impl Default for CMsgClientIsLimitedAccount
impl Eq for CMsgClientIsLimitedAccount
Source§impl Hash for CMsgClientIsLimitedAccount
impl Hash for CMsgClientIsLimitedAccount
Source§impl Message for CMsgClientIsLimitedAccount
impl Message for CMsgClientIsLimitedAccount
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 CMsgClientIsLimitedAccount
impl PartialEq for CMsgClientIsLimitedAccount
Source§fn eq(&self, other: &CMsgClientIsLimitedAccount) -> bool
fn eq(&self, other: &CMsgClientIsLimitedAccount) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CMsgClientIsLimitedAccount
Auto Trait Implementations§
impl Freeze for CMsgClientIsLimitedAccount
impl RefUnwindSafe for CMsgClientIsLimitedAccount
impl Send for CMsgClientIsLimitedAccount
impl Sync for CMsgClientIsLimitedAccount
impl Unpin for CMsgClientIsLimitedAccount
impl UnsafeUnpin for CMsgClientIsLimitedAccount
impl UnwindSafe for CMsgClientIsLimitedAccount
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