pub struct GetHeadphoneConnectedResponse {
pub current_headphone_connected: Option<bool>,
}Fields§
§current_headphone_connected: Option<bool>Trait Implementations§
Source§impl Clone for GetHeadphoneConnectedResponse
impl Clone for GetHeadphoneConnectedResponse
Source§fn clone(&self) -> GetHeadphoneConnectedResponse
fn clone(&self) -> GetHeadphoneConnectedResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl DecodeSoapResponse for GetHeadphoneConnectedResponse
impl DecodeSoapResponse for GetHeadphoneConnectedResponse
Source§fn decode_soap_xml(xml: &str) -> Result<Self>
fn decode_soap_xml(xml: &str) -> Result<Self>
xml is a complete Soap
<Envelope> element.
This method decodes and returns Self from that Envelope.Source§impl<'xml> FromXml<'xml> for GetHeadphoneConnectedResponse
impl<'xml> FromXml<'xml> for GetHeadphoneConnectedResponse
const KIND: Kind = ::instant_xml::Kind::Element
type Accumulator = Option<GetHeadphoneConnectedResponse>
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml>, ) -> Result<(), Error>
Source§impl PartialEq for GetHeadphoneConnectedResponse
impl PartialEq for GetHeadphoneConnectedResponse
Source§fn eq(&self, other: &GetHeadphoneConnectedResponse) -> bool
fn eq(&self, other: &GetHeadphoneConnectedResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetHeadphoneConnectedResponse
Auto Trait Implementations§
impl Freeze for GetHeadphoneConnectedResponse
impl RefUnwindSafe for GetHeadphoneConnectedResponse
impl Send for GetHeadphoneConnectedResponse
impl Sync for GetHeadphoneConnectedResponse
impl Unpin for GetHeadphoneConnectedResponse
impl UnwindSafe for GetHeadphoneConnectedResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more