[−][src]Enum ruma_client_api::r0::to_device::DeviceIdOrAllDevices
Represents one or all of a user's devices.
Variants
DeviceId(DeviceId)Represents a device Id for one of a user's devices.
Represents all devices for a user.
Trait Implementations
impl Clone for DeviceIdOrAllDevices[src]
fn clone(&self) -> DeviceIdOrAllDevices[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for DeviceIdOrAllDevices[src]
impl<'de> Deserialize<'de> for DeviceIdOrAllDevices[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
impl Display for DeviceIdOrAllDevices[src]
impl Eq for DeviceIdOrAllDevices[src]
impl Ord for DeviceIdOrAllDevices[src]
fn cmp(&self, other: &DeviceIdOrAllDevices) -> Ordering[src]
#[must_use]fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<DeviceIdOrAllDevices> for DeviceIdOrAllDevices[src]
fn eq(&self, other: &DeviceIdOrAllDevices) -> bool[src]
fn ne(&self, other: &DeviceIdOrAllDevices) -> bool[src]
impl PartialOrd<DeviceIdOrAllDevices> for DeviceIdOrAllDevices[src]
fn partial_cmp(&self, other: &DeviceIdOrAllDevices) -> Option<Ordering>[src]
fn lt(&self, other: &DeviceIdOrAllDevices) -> bool[src]
fn le(&self, other: &DeviceIdOrAllDevices) -> bool[src]
fn gt(&self, other: &DeviceIdOrAllDevices) -> bool[src]
fn ge(&self, other: &DeviceIdOrAllDevices) -> bool[src]
impl Serialize for DeviceIdOrAllDevices[src]
impl StructuralEq for DeviceIdOrAllDevices[src]
impl StructuralPartialEq for DeviceIdOrAllDevices[src]
impl<'_> TryFrom<&'_ str> for DeviceIdOrAllDevices[src]
Auto Trait Implementations
impl RefUnwindSafe for DeviceIdOrAllDevices
impl Send for DeviceIdOrAllDevices
impl Sync for DeviceIdOrAllDevices
impl Unpin for DeviceIdOrAllDevices
impl UnwindSafe for DeviceIdOrAllDevices
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,