Struct librespot_protocol::mercury::MercuryRequest [−][src]
pub struct MercuryRequest { pub unknown_fields: UnknownFields, pub cached_size: CachedSize, // some fields omitted }
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl MercuryRequest
[src]
impl MercuryRequest
[src]pub fn new() -> MercuryRequest
[src]
pub fn get_uri(&self) -> &str
[src]
pub fn clear_uri(&mut self)
[src]
pub fn has_uri(&self) -> bool
[src]
pub fn set_uri(&mut self, v: String)
[src]
pub fn mut_uri(&mut self) -> &mut String
[src]
pub fn take_uri(&mut self) -> String
[src]
pub fn get_content_type(&self) -> &str
[src]
pub fn clear_content_type(&mut self)
[src]
pub fn has_content_type(&self) -> bool
[src]
pub fn set_content_type(&mut self, v: String)
[src]
pub fn mut_content_type(&mut self) -> &mut String
[src]
pub fn take_content_type(&mut self) -> String
[src]
pub fn get_body(&self) -> &[u8]
[src]
pub fn clear_body(&mut self)
[src]
pub fn has_body(&self) -> bool
[src]
pub fn set_body(&mut self, v: Vec<u8>)
[src]
pub fn mut_body(&mut self) -> &mut Vec<u8>
[src]
pub fn take_body(&mut self) -> Vec<u8>
[src]
pub fn get_etag(&self) -> &[u8]
[src]
pub fn clear_etag(&mut self)
[src]
pub fn has_etag(&self) -> bool
[src]
pub fn set_etag(&mut self, v: Vec<u8>)
[src]
pub fn mut_etag(&mut self) -> &mut Vec<u8>
[src]
pub fn take_etag(&mut self) -> Vec<u8>
[src]
Trait Implementations
impl Clear for MercuryRequest
[src]
impl Clear for MercuryRequest
[src]impl Clone for MercuryRequest
[src]
impl Clone for MercuryRequest
[src]fn clone(&self) -> MercuryRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for MercuryRequest
[src]
impl Default for MercuryRequest
[src]fn default() -> MercuryRequest
[src]
impl<'a> Default for &'a MercuryRequest
[src]
impl<'a> Default for &'a MercuryRequest
[src]fn default() -> &'a MercuryRequest
[src]
impl Message for MercuryRequest
[src]
impl Message for MercuryRequest
[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() -> MercuryRequest
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static MercuryRequest
[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<MercuryRequest> for MercuryRequest
[src]
impl PartialEq<MercuryRequest> for MercuryRequest
[src]fn eq(&self, other: &MercuryRequest) -> bool
[src]
fn ne(&self, other: &MercuryRequest) -> bool
[src]
impl ProtobufValue for MercuryRequest
[src]
impl ProtobufValue for MercuryRequest
[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 MercuryRequest
[src]
impl StructuralPartialEq for MercuryRequest
[src]Auto Trait Implementations
impl RefUnwindSafe for MercuryRequest
impl RefUnwindSafe for MercuryRequest
impl Send for MercuryRequest
impl Send for MercuryRequest
impl Sync for MercuryRequest
impl Sync for MercuryRequest
impl Unpin for MercuryRequest
impl Unpin for MercuryRequest
impl UnwindSafe for MercuryRequest
impl UnwindSafe for MercuryRequest