pub struct InitialView {
pub gdpr_agreement_required: bool,
pub english_titles_count: u32,
pub spanish_titles_count: u32,
}
Fields§
§gdpr_agreement_required: bool
§english_titles_count: u32
§spanish_titles_count: u32
Trait Implementations§
Source§impl Clone for InitialView
impl Clone for InitialView
Source§fn clone(&self) -> InitialView
fn clone(&self) -> InitialView
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 InitialView
impl Debug for InitialView
Source§impl Default for InitialView
impl Default for InitialView
Source§fn default() -> InitialView
fn default() -> InitialView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InitialView
impl<'de> Deserialize<'de> for InitialView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> MessageRead<'a> for InitialView
impl<'a> MessageRead<'a> for InitialView
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for InitialView
impl MessageWrite for InitialView
Source§impl PartialEq for InitialView
impl PartialEq for InitialView
Source§impl Serialize for InitialView
impl Serialize for InitialView
impl StructuralPartialEq for InitialView
Auto Trait Implementations§
impl Freeze for InitialView
impl RefUnwindSafe for InitialView
impl Send for InitialView
impl Sync for InitialView
impl Unpin for InitialView
impl UnwindSafe for InitialView
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