Struct librespot_protocol::playlist4meta::StringAttribute [−][src]
pub struct StringAttribute { pub unknown_fields: UnknownFields, pub cached_size: CachedSize, // some fields omitted }
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl StringAttribute
[src]
impl StringAttribute
[src]pub fn new() -> StringAttribute
[src]
pub fn get_key(&self) -> &str
[src]
pub fn clear_key(&mut self)
[src]
pub fn has_key(&self) -> bool
[src]
pub fn set_key(&mut self, v: String)
[src]
pub fn mut_key(&mut self) -> &mut String
[src]
pub fn take_key(&mut self) -> String
[src]
pub fn get_value(&self) -> &str
[src]
pub fn clear_value(&mut self)
[src]
pub fn has_value(&self) -> bool
[src]
pub fn set_value(&mut self, v: String)
[src]
pub fn mut_value(&mut self) -> &mut String
[src]
pub fn take_value(&mut self) -> String
[src]
Trait Implementations
impl Clear for StringAttribute
[src]
impl Clear for StringAttribute
[src]impl Clone for StringAttribute
[src]
impl Clone for StringAttribute
[src]fn clone(&self) -> StringAttribute
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for StringAttribute
[src]
impl Default for StringAttribute
[src]fn default() -> StringAttribute
[src]
impl<'a> Default for &'a StringAttribute
[src]
impl<'a> Default for &'a StringAttribute
[src]fn default() -> &'a StringAttribute
[src]
impl Message for StringAttribute
[src]
impl Message for StringAttribute
[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() -> StringAttribute
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static StringAttribute
[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<StringAttribute> for StringAttribute
[src]
impl PartialEq<StringAttribute> for StringAttribute
[src]fn eq(&self, other: &StringAttribute) -> bool
[src]
fn ne(&self, other: &StringAttribute) -> bool
[src]
impl ProtobufValue for StringAttribute
[src]
impl ProtobufValue for StringAttribute
[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 StringAttribute
[src]
impl StructuralPartialEq for StringAttribute
[src]Auto Trait Implementations
impl RefUnwindSafe for StringAttribute
impl RefUnwindSafe for StringAttribute
impl Send for StringAttribute
impl Send for StringAttribute
impl Sync for StringAttribute
impl Sync for StringAttribute
impl Unpin for StringAttribute
impl Unpin for StringAttribute
impl UnwindSafe for StringAttribute
impl UnwindSafe for StringAttribute