pub struct ProfileMeta {
pub name: String,
pub description: String,
}Expand description
Profile metadata.
Fields§
§name: StringProfile name (must match filename without extension).
description: StringHuman-readable description.
Trait Implementations§
Source§impl Clone for ProfileMeta
impl Clone for ProfileMeta
Source§fn clone(&self) -> ProfileMeta
fn clone(&self) -> ProfileMeta
Returns a duplicate of the value. Read more
1.0.0 · 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 ProfileMeta
impl Debug for ProfileMeta
Source§impl Default for ProfileMeta
impl Default for ProfileMeta
Source§fn default() -> ProfileMeta
fn default() -> ProfileMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileMetawhere
ProfileMeta: Default,
impl<'de> Deserialize<'de> for ProfileMetawhere
ProfileMeta: Default,
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 PartialEq for ProfileMeta
impl PartialEq for ProfileMeta
Source§impl Serialize for ProfileMeta
impl Serialize for ProfileMeta
impl StructuralPartialEq for ProfileMeta
Auto Trait Implementations§
impl Freeze for ProfileMeta
impl RefUnwindSafe for ProfileMeta
impl Send for ProfileMeta
impl Sync for ProfileMeta
impl Unpin for ProfileMeta
impl UnsafeUnpin for ProfileMeta
impl UnwindSafe for ProfileMeta
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