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