Struct librespot_protocol::metadata::SalePeriod [−][src]
pub struct SalePeriod { pub unknown_fields: UnknownFields, pub cached_size: CachedSize, // some fields omitted }
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl SalePeriod
[src]
impl SalePeriod
[src]pub fn new() -> SalePeriod
[src]
pub fn get_restriction(&self) -> &[Restriction]
[src]
pub fn clear_restriction(&mut self)
[src]
pub fn set_restriction(&mut self, v: RepeatedField<Restriction>)
[src]
pub fn mut_restriction(&mut self) -> &mut RepeatedField<Restriction>
[src]
pub fn take_restriction(&mut self) -> RepeatedField<Restriction>
[src]
pub fn get_start(&self) -> &Date
[src]
pub fn clear_start(&mut self)
[src]
pub fn has_start(&self) -> bool
[src]
pub fn set_start(&mut self, v: Date)
[src]
pub fn mut_start(&mut self) -> &mut Date
[src]
pub fn take_start(&mut self) -> Date
[src]
pub fn get_end(&self) -> &Date
[src]
pub fn clear_end(&mut self)
[src]
pub fn has_end(&self) -> bool
[src]
pub fn set_end(&mut self, v: Date)
[src]
pub fn mut_end(&mut self) -> &mut Date
[src]
pub fn take_end(&mut self) -> Date
[src]
Trait Implementations
impl Clear for SalePeriod
[src]
impl Clear for SalePeriod
[src]impl Clone for SalePeriod
[src]
impl Clone for SalePeriod
[src]fn clone(&self) -> SalePeriod
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for SalePeriod
[src]
impl Default for SalePeriod
[src]fn default() -> SalePeriod
[src]
impl<'a> Default for &'a SalePeriod
[src]
impl<'a> Default for &'a SalePeriod
[src]fn default() -> &'a SalePeriod
[src]
impl Message for SalePeriod
[src]
impl Message for SalePeriod
[src]fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn new() -> SalePeriod
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static SalePeriod
[src]
pub fn write_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
pub fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
pub fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
pub fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
[src]
pub fn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>
[src]
pub fn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>
[src]
pub fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>
[src]
&self
) -> Result<Vec<u8, Global>, ProtobufError>
pub fn type_id(&self) -> TypeId
[src]
impl PartialEq<SalePeriod> for SalePeriod
[src]
impl PartialEq<SalePeriod> for SalePeriod
[src]fn eq(&self, other: &SalePeriod) -> bool
[src]
fn ne(&self, other: &SalePeriod) -> bool
[src]
impl ProtobufValue for SalePeriod
[src]
impl ProtobufValue for SalePeriod
[src]fn as_ref(&self) -> ReflectValueRef<'_>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn is_non_zero(&self) -> bool
[src]
pub fn as_ref_copy(&self) -> ReflectValueRef<'static>
[src]
impl StructuralPartialEq for SalePeriod
[src]
impl StructuralPartialEq for SalePeriod
[src]Auto Trait Implementations
impl RefUnwindSafe for SalePeriod
impl RefUnwindSafe for SalePeriod
impl Send for SalePeriod
impl Send for SalePeriod
impl Sync for SalePeriod
impl Sync for SalePeriod
impl Unpin for SalePeriod
impl Unpin for SalePeriod
impl UnwindSafe for SalePeriod
impl UnwindSafe for SalePeriod