pub struct ParentalSettings {Show 13 fields
pub steamid: Option<u64>,
pub applist_base_id: Option<u32>,
pub applist_base_description: Option<String>,
pub applist_base: Vec<ParentalApp>,
pub applist_custom: Vec<ParentalApp>,
pub passwordhashtype: Option<u32>,
pub salt: Option<Vec<u8>>,
pub passwordhash: Option<Vec<u8>>,
pub is_enabled: Option<bool>,
pub enabled_features: Option<u32>,
pub recovery_email: Option<String>,
pub is_site_license_lock: Option<bool>,
pub special_fields: SpecialFields,
}
Fields§
§steamid: Option<u64>
§applist_base_id: Option<u32>
§applist_base_description: Option<String>
§applist_base: Vec<ParentalApp>
§applist_custom: Vec<ParentalApp>
§passwordhashtype: Option<u32>
§salt: Option<Vec<u8>>
§passwordhash: Option<Vec<u8>>
§is_enabled: Option<bool>
§enabled_features: Option<u32>
§recovery_email: Option<String>
§is_site_license_lock: Option<bool>
§special_fields: SpecialFields
Implementations§
source§impl ParentalSettings
impl ParentalSettings
pub fn new() -> ParentalSettings
pub fn steamid(&self) -> u64
pub fn clear_steamid(&mut self)
pub fn has_steamid(&self) -> bool
pub fn set_steamid(&mut self, v: u64)
pub fn applist_base_id(&self) -> u32
pub fn clear_applist_base_id(&mut self)
pub fn has_applist_base_id(&self) -> bool
pub fn set_applist_base_id(&mut self, v: u32)
pub fn applist_base_description(&self) -> &str
pub fn clear_applist_base_description(&mut self)
pub fn has_applist_base_description(&self) -> bool
pub fn set_applist_base_description(&mut self, v: String)
pub fn mut_applist_base_description(&mut self) -> &mut String
pub fn take_applist_base_description(&mut self) -> String
pub fn passwordhashtype(&self) -> u32
pub fn clear_passwordhashtype(&mut self)
pub fn has_passwordhashtype(&self) -> bool
pub fn set_passwordhashtype(&mut self, v: u32)
pub fn salt(&self) -> &[u8] ⓘ
pub fn clear_salt(&mut self)
pub fn has_salt(&self) -> bool
pub fn set_salt(&mut self, v: Vec<u8>)
pub fn mut_salt(&mut self) -> &mut Vec<u8>
pub fn take_salt(&mut self) -> Vec<u8>
pub fn passwordhash(&self) -> &[u8] ⓘ
pub fn clear_passwordhash(&mut self)
pub fn has_passwordhash(&self) -> bool
pub fn set_passwordhash(&mut self, v: Vec<u8>)
pub fn mut_passwordhash(&mut self) -> &mut Vec<u8>
pub fn take_passwordhash(&mut self) -> Vec<u8>
pub fn is_enabled(&self) -> bool
pub fn clear_is_enabled(&mut self)
pub fn has_is_enabled(&self) -> bool
pub fn set_is_enabled(&mut self, v: bool)
pub fn enabled_features(&self) -> u32
pub fn clear_enabled_features(&mut self)
pub fn has_enabled_features(&self) -> bool
pub fn set_enabled_features(&mut self, v: u32)
pub fn recovery_email(&self) -> &str
pub fn clear_recovery_email(&mut self)
pub fn has_recovery_email(&self) -> bool
pub fn set_recovery_email(&mut self, v: String)
pub fn mut_recovery_email(&mut self) -> &mut String
pub fn take_recovery_email(&mut self) -> String
pub fn is_site_license_lock(&self) -> bool
pub fn clear_is_site_license_lock(&mut self)
pub fn has_is_site_license_lock(&self) -> bool
pub fn set_is_site_license_lock(&mut self, v: bool)
Trait Implementations§
source§impl Clone for ParentalSettings
impl Clone for ParentalSettings
source§fn clone(&self) -> ParentalSettings
fn clone(&self) -> ParentalSettings
Returns a copy 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 ParentalSettings
impl Debug for ParentalSettings
source§impl<'a> Default for &'a ParentalSettings
impl<'a> Default for &'a ParentalSettings
source§fn default() -> &'a ParentalSettings
fn default() -> &'a ParentalSettings
Returns the “default value” for a type. Read more
source§impl Default for ParentalSettings
impl Default for ParentalSettings
source§fn default() -> ParentalSettings
fn default() -> ParentalSettings
Returns the “default value” for a type. Read more
source§impl Message for ParentalSettings
impl Message for ParentalSettings
source§const NAME: &'static str = "ParentalSettings"
const NAME: &'static str = "ParentalSettings"
Message name as specified in
.proto
file. Read moresource§fn is_initialized(&self) -> bool
fn is_initialized(&self) -> bool
True iff all required fields are initialized.
Always returns
true
for protobuf 3.source§fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> Result<()>
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> Result<()>
Update this message object with fields read from given stream.
source§fn compute_size(&self) -> u64
fn compute_size(&self) -> u64
Compute and cache size of this message and all nested messages. Read more
source§fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<()>
fn write_to_with_cached_sizes( &self, os: &mut CodedOutputStream<'_> ) -> Result<()>
Write message to the stream. Read more
source§fn special_fields(&self) -> &SpecialFields
fn special_fields(&self) -> &SpecialFields
Special fields (unknown fields and cached size).
source§fn mut_special_fields(&mut self) -> &mut SpecialFields
fn mut_special_fields(&mut self) -> &mut SpecialFields
Special fields (unknown fields and cached size).
source§fn new() -> ParentalSettings
fn new() -> ParentalSettings
Create an empty message object. Read more
source§fn default_instance() -> &'static ParentalSettings
fn default_instance() -> &'static ParentalSettings
Return a pointer to default immutable message with static lifetime. Read more
source§fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, Error>
fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, Error>
Parse message from stream.
source§fn cached_size(&self) -> u32
fn cached_size(&self) -> u32
Get size previously computed by
compute_size
. Read moresource§fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), Error>
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), Error>
Write the message to the stream. Read more
source§fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), Error>
fn write_length_delimited_to( &self, os: &mut CodedOutputStream<'_> ) -> Result<(), Error>
Write the message to the stream prepending the message with message length
encoded as varint.
source§fn write_length_delimited_to_vec(&self, vec: &mut Vec<u8>) -> Result<(), Error>
fn write_length_delimited_to_vec(&self, vec: &mut Vec<u8>) -> Result<(), Error>
Write the message to the vec, prepend the message with message length
encoded as varint.
source§fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>
Update this message object with fields read from given stream.
source§fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, Error>
fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, Error>
Parse message from reader.
Parse stops on EOF or when error encountered.
source§fn parse_from_tokio_bytes(bytes: &Bytes) -> Result<Self, Error>
fn parse_from_tokio_bytes(bytes: &Bytes) -> Result<Self, Error>
Parse message from
Bytes
object.
Resulting message may share references to the passed bytes object.source§fn check_initialized(&self) -> Result<(), Error>
fn check_initialized(&self) -> Result<(), Error>
Check if all required fields of this object are initialized.
source§fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), Error>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), Error>
Write the message to the writer.
source§fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), Error>
fn write_length_delimited_to_writer( &self, w: &mut dyn Write ) -> Result<(), Error>
Write the message to the writer, prepend the message with message length
encoded as varint.
source§fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, Error>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, Error>
Write the message to the bytes vec, prepend the message with message length
encoded as varint.
source§fn unknown_fields(&self) -> &UnknownFields
fn unknown_fields(&self) -> &UnknownFields
Get a reference to unknown fields.
source§fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
Get a mutable reference to unknown fields.
source§impl PartialEq for ParentalSettings
impl PartialEq for ParentalSettings
source§fn eq(&self, other: &ParentalSettings) -> bool
fn eq(&self, other: &ParentalSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RpcMessage for ParentalSettings
impl RpcMessage for ParentalSettings
impl StructuralPartialEq for ParentalSettings
Auto Trait Implementations§
impl !Freeze for ParentalSettings
impl RefUnwindSafe for ParentalSettings
impl Send for ParentalSettings
impl Sync for ParentalSettings
impl Unpin for ParentalSettings
impl UnwindSafe for ParentalSettings
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