pub struct AvatarsConfig {
pub dir: String,
pub default: String,
}Fields§
§dir: String§default: StringTrait Implementations§
Source§impl Clone for AvatarsConfig
impl Clone for AvatarsConfig
Source§fn clone(&self) -> AvatarsConfig
fn clone(&self) -> AvatarsConfig
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 AvatarsConfig
impl Debug for AvatarsConfig
Source§impl Default for AvatarsConfig
impl Default for AvatarsConfig
Source§fn default() -> AvatarsConfig
fn default() -> AvatarsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AvatarsConfig
impl<'de> Deserialize<'de> for AvatarsConfig
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 AvatarsConfig
impl RefUnwindSafe for AvatarsConfig
impl Send for AvatarsConfig
impl Sync for AvatarsConfig
impl Unpin for AvatarsConfig
impl UnsafeUnpin for AvatarsConfig
impl UnwindSafe for AvatarsConfig
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