pub struct OsedaConfig {
pub title: String,
pub author: String,
pub tags: Vec<Tag>,
pub last_updated: DateTime<Utc>,
pub color: String,
pub description: String,
}Expand description
Structure for an oseda-config.json
Fields§
§title: String§last_updated: DateTime<Utc>§color: String§description: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for OsedaConfig
impl<'de> Deserialize<'de> for OsedaConfig
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
Auto Trait Implementations§
impl Freeze for OsedaConfig
impl RefUnwindSafe for OsedaConfig
impl Send for OsedaConfig
impl Sync for OsedaConfig
impl Unpin for OsedaConfig
impl UnwindSafe for OsedaConfig
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