pub struct SampleTextProto {Show 13 fields
pub masthead_full: Option<String>,
pub masthead_partial: Option<String>,
pub styles: Option<String>,
pub tester: Option<String>,
pub poster_sm: Option<String>,
pub poster_md: Option<String>,
pub poster_lg: Option<String>,
pub specimen_48: Option<String>,
pub specimen_36: Option<String>,
pub specimen_32: Option<String>,
pub specimen_21: Option<String>,
pub specimen_16: Option<String>,
pub note: Option<String>,
}Fields§
§masthead_full: Option<String>§masthead_partial: Option<String>§styles: Option<String>§tester: Option<String>§poster_sm: Option<String>§poster_md: Option<String>§poster_lg: Option<String>§specimen_48: Option<String>§specimen_36: Option<String>§specimen_32: Option<String>§specimen_21: Option<String>§specimen_16: Option<String>§note: Option<String>Implementations§
Source§impl SampleTextProto
impl SampleTextProto
Sourcepub fn masthead_full(&self) -> &str
pub fn masthead_full(&self) -> &str
Returns the value of masthead_full, or the default value if masthead_full is unset.
Sourcepub fn masthead_partial(&self) -> &str
pub fn masthead_partial(&self) -> &str
Returns the value of masthead_partial, or the default value if masthead_partial is unset.
Sourcepub fn styles(&self) -> &str
pub fn styles(&self) -> &str
Returns the value of styles, or the default value if styles is unset.
Sourcepub fn tester(&self) -> &str
pub fn tester(&self) -> &str
Returns the value of tester, or the default value if tester is unset.
Sourcepub fn poster_sm(&self) -> &str
pub fn poster_sm(&self) -> &str
Returns the value of poster_sm, or the default value if poster_sm is unset.
Sourcepub fn poster_md(&self) -> &str
pub fn poster_md(&self) -> &str
Returns the value of poster_md, or the default value if poster_md is unset.
Sourcepub fn poster_lg(&self) -> &str
pub fn poster_lg(&self) -> &str
Returns the value of poster_lg, or the default value if poster_lg is unset.
Sourcepub fn specimen_48(&self) -> &str
pub fn specimen_48(&self) -> &str
Returns the value of specimen_48, or the default value if specimen_48 is unset.
Sourcepub fn specimen_36(&self) -> &str
pub fn specimen_36(&self) -> &str
Returns the value of specimen_36, or the default value if specimen_36 is unset.
Sourcepub fn specimen_32(&self) -> &str
pub fn specimen_32(&self) -> &str
Returns the value of specimen_32, or the default value if specimen_32 is unset.
Sourcepub fn specimen_21(&self) -> &str
pub fn specimen_21(&self) -> &str
Returns the value of specimen_21, or the default value if specimen_21 is unset.
Sourcepub fn specimen_16(&self) -> &str
pub fn specimen_16(&self) -> &str
Returns the value of specimen_16, or the default value if specimen_16 is unset.
Trait Implementations§
Source§impl Clone for SampleTextProto
impl Clone for SampleTextProto
Source§fn clone(&self) -> SampleTextProto
fn clone(&self) -> SampleTextProto
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SampleTextProto
impl Debug for SampleTextProto
Source§impl Default for SampleTextProto
impl Default for SampleTextProto
Source§fn default() -> SampleTextProto
fn default() -> SampleTextProto
Source§impl<'de> Deserialize<'de> for SampleTextProto
impl<'de> Deserialize<'de> for SampleTextProto
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SampleTextProto, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SampleTextProto, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Message for SampleTextProto
impl Message for SampleTextProto
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
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,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
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,
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,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
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,
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,
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,
self.