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