pub struct DeviceAddSpec {
pub device_id: String,
pub signing_key: DevicePublicKeySpec,
pub e2ee_key: DevicePublicKeySpec,
pub profiles: Vec<String>,
}Fields§
§device_id: String§signing_key: DevicePublicKeySpec§e2ee_key: DevicePublicKeySpec§profiles: Vec<String>Trait Implementations§
Source§impl Clone for DeviceAddSpec
impl Clone for DeviceAddSpec
Source§fn clone(&self) -> DeviceAddSpec
fn clone(&self) -> DeviceAddSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeviceAddSpec
impl Debug for DeviceAddSpec
Source§impl<'de> Deserialize<'de> for DeviceAddSpec
impl<'de> Deserialize<'de> for DeviceAddSpec
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 DeviceAddSpec
Source§impl PartialEq for DeviceAddSpec
impl PartialEq for DeviceAddSpec
Source§impl Serialize for DeviceAddSpec
impl Serialize for DeviceAddSpec
impl StructuralPartialEq for DeviceAddSpec
Auto Trait Implementations§
impl Freeze for DeviceAddSpec
impl RefUnwindSafe for DeviceAddSpec
impl Send for DeviceAddSpec
impl Sync for DeviceAddSpec
impl Unpin for DeviceAddSpec
impl UnsafeUnpin for DeviceAddSpec
impl UnwindSafe for DeviceAddSpec
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