pub struct CommunityConfig {
pub enabled: bool,
}Fields§
§enabled: boolWhether community pattern sharing is enabled
Trait Implementations§
Source§impl Clone for CommunityConfig
impl Clone for CommunityConfig
Source§fn clone(&self) -> CommunityConfig
fn clone(&self) -> CommunityConfig
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 CommunityConfig
impl Debug for CommunityConfig
Source§impl Default for CommunityConfig
impl Default for CommunityConfig
Source§fn default() -> CommunityConfig
fn default() -> CommunityConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommunityConfig
impl<'de> Deserialize<'de> for CommunityConfig
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 CommunityConfig
impl RefUnwindSafe for CommunityConfig
impl Send for CommunityConfig
impl Sync for CommunityConfig
impl Unpin for CommunityConfig
impl UnsafeUnpin for CommunityConfig
impl UnwindSafe for CommunityConfig
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