pub struct BodyCardSchema {
pub enabled: Option<bool>,
pub description: Option<String>,
}Expand description
Body namespace configuration for a card type
Fields§
§enabled: Option<bool>Whether the body editor is enabled for this card (default: true). When false, consumers must not accept or store body content for instances of this card type.
description: Option<String>Description shown in the body editor placeholder area when the body is
empty. Has no effect when enabled is false.
Trait Implementations§
Source§impl Clone for BodyCardSchema
impl Clone for BodyCardSchema
Source§fn clone(&self) -> BodyCardSchema
fn clone(&self) -> BodyCardSchema
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 BodyCardSchema
impl Debug for BodyCardSchema
Source§impl<'de> Deserialize<'de> for BodyCardSchema
impl<'de> Deserialize<'de> for BodyCardSchema
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 BodyCardSchema
impl PartialEq for BodyCardSchema
Source§fn eq(&self, other: &BodyCardSchema) -> bool
fn eq(&self, other: &BodyCardSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BodyCardSchema
impl Serialize for BodyCardSchema
impl StructuralPartialEq for BodyCardSchema
Auto Trait Implementations§
impl Freeze for BodyCardSchema
impl RefUnwindSafe for BodyCardSchema
impl Send for BodyCardSchema
impl Sync for BodyCardSchema
impl Unpin for BodyCardSchema
impl UnsafeUnpin for BodyCardSchema
impl UnwindSafe for BodyCardSchema
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