pub struct ShortMeta<'a> {
pub app_id: &'a str,
pub author_id: &'a str,
}
Expand description
A struct with only a few safe fields from Meta.
It is used to serialize information about an app outside of the app dir. Since it is outside, it escapes the hash and signature checks and so it must not store any information that must be verified before use.
Fields§
§app_id: &'a str
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for ShortMeta<'a>
impl<'de: 'a, 'a> Deserialize<'de> for ShortMeta<'a>
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
Source§impl<'a> Encode<'a> for ShortMeta<'a>
impl<'a> Encode<'a> for ShortMeta<'a>
impl<'a> Eq for ShortMeta<'a>
impl<'a> StructuralPartialEq for ShortMeta<'a>
Auto Trait Implementations§
impl<'a> Freeze for ShortMeta<'a>
impl<'a> RefUnwindSafe for ShortMeta<'a>
impl<'a> Send for ShortMeta<'a>
impl<'a> Sync for ShortMeta<'a>
impl<'a> Unpin for ShortMeta<'a>
impl<'a> UnwindSafe for ShortMeta<'a>
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