Struct wildland_corex::UserMetaData
source · [−]pub struct UserMetaData {
pub devices: Vec<DeviceMetadata>,
}
Fields
devices: Vec<DeviceMetadata>
Implementations
sourceimpl UserMetaData
impl UserMetaData
pub fn get_device_metadata(
&self,
device_pubkey: PubKey
) -> Option<&DeviceMetadata>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for UserMetaData
impl<'de> Deserialize<'de> for UserMetaData
sourcefn 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
sourceimpl Serialize for UserMetaData
impl Serialize for UserMetaData
Auto Trait Implementations
impl RefUnwindSafe for UserMetaData
impl Send for UserMetaData
impl Sync for UserMetaData
impl Unpin for UserMetaData
impl UnwindSafe for UserMetaData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more