pub struct PhoneState {
pub channels: Vec<ChannelOption>,
pub phone: Option<PhoneView>,
pub pairing: Option<Pairing>,
}Expand description
Everything a client shows about My phone.
Fields§
§channels: Vec<ChannelOption>§phone: Option<PhoneView>§pairing: Option<Pairing>Trait Implementations§
Source§impl Clone for PhoneState
impl Clone for PhoneState
Source§impl Debug for PhoneState
impl Debug for PhoneState
Source§impl Default for PhoneState
impl Default for PhoneState
Source§impl<'de> Deserialize<'de> for PhoneState
impl<'de> Deserialize<'de> for PhoneState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PhoneState
Source§impl PartialEq for PhoneState
impl PartialEq for PhoneState
Source§impl Serialize for PhoneState
impl Serialize for PhoneState
impl StructuralPartialEq for PhoneState
Auto Trait Implementations§
impl Forget for PhoneState
impl Freeze for PhoneState
impl Move for PhoneState
impl RefUnwindSafe for PhoneState
impl Send for PhoneStatewhere
RawVecInner: Send,
impl Sync for PhoneStatewhere
RawVecInner: Sync,
impl Unpin for PhoneState
impl UnsafeUnpin for PhoneStatewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ChannelOption>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for PhoneStatewhere
RawVecInner: UnwindSafe,
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