Struct librespot_protocol::metadata::ActivityPeriod [−][src]
pub struct ActivityPeriod { pub unknown_fields: UnknownFields, pub cached_size: CachedSize, // some fields omitted }
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl ActivityPeriod
[src]
impl ActivityPeriod
[src]pub fn new() -> ActivityPeriod
[src]
pub fn get_start_year(&self) -> i32
[src]
pub fn clear_start_year(&mut self)
[src]
pub fn has_start_year(&self) -> bool
[src]
pub fn set_start_year(&mut self, v: i32)
[src]
pub fn get_end_year(&self) -> i32
[src]
pub fn clear_end_year(&mut self)
[src]
pub fn has_end_year(&self) -> bool
[src]
pub fn set_end_year(&mut self, v: i32)
[src]
pub fn get_decade(&self) -> i32
[src]
pub fn clear_decade(&mut self)
[src]
pub fn has_decade(&self) -> bool
[src]
pub fn set_decade(&mut self, v: i32)
[src]
Trait Implementations
impl Clear for ActivityPeriod
[src]
impl Clear for ActivityPeriod
[src]impl Clone for ActivityPeriod
[src]
impl Clone for ActivityPeriod
[src]fn clone(&self) -> ActivityPeriod
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ActivityPeriod
[src]
impl Default for ActivityPeriod
[src]fn default() -> ActivityPeriod
[src]
impl<'a> Default for &'a ActivityPeriod
[src]
impl<'a> Default for &'a ActivityPeriod
[src]fn default() -> &'a ActivityPeriod
[src]
impl Message for ActivityPeriod
[src]
impl Message for ActivityPeriod
[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() -> ActivityPeriod
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static ActivityPeriod
[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<ActivityPeriod> for ActivityPeriod
[src]
impl PartialEq<ActivityPeriod> for ActivityPeriod
[src]fn eq(&self, other: &ActivityPeriod) -> bool
[src]
fn ne(&self, other: &ActivityPeriod) -> bool
[src]
impl ProtobufValue for ActivityPeriod
[src]
impl ProtobufValue for ActivityPeriod
[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 ActivityPeriod
[src]
impl StructuralPartialEq for ActivityPeriod
[src]Auto Trait Implementations
impl RefUnwindSafe for ActivityPeriod
impl RefUnwindSafe for ActivityPeriod
impl Send for ActivityPeriod
impl Send for ActivityPeriod
impl Sync for ActivityPeriod
impl Sync for ActivityPeriod
impl Unpin for ActivityPeriod
impl Unpin for ActivityPeriod
impl UnwindSafe for ActivityPeriod
impl UnwindSafe for ActivityPeriod