pub struct PresetSchema {
pub value: Box<PresetUpsertSchemaValue>,
pub name: String,
}
Fields§
§value: Box<PresetUpsertSchemaValue>
§name: String
Implementations§
Source§impl PresetSchema
impl PresetSchema
pub fn new(value: PresetUpsertSchemaValue, name: String) -> PresetSchema
Trait Implementations§
Source§impl Clone for PresetSchema
impl Clone for PresetSchema
Source§fn clone(&self) -> PresetSchema
fn clone(&self) -> PresetSchema
Returns a duplicate of the value. Read more
1.0.0 · 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 PresetSchema
impl Debug for PresetSchema
Source§impl Default for PresetSchema
impl Default for PresetSchema
Source§fn default() -> PresetSchema
fn default() -> PresetSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PresetSchema
impl<'de> Deserialize<'de> for PresetSchema
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 PresetSchema
impl PartialEq for PresetSchema
Source§impl Serialize for PresetSchema
impl Serialize for PresetSchema
impl StructuralPartialEq for PresetSchema
Auto Trait Implementations§
impl Freeze for PresetSchema
impl RefUnwindSafe for PresetSchema
impl Send for PresetSchema
impl Sync for PresetSchema
impl Unpin for PresetSchema
impl UnwindSafe for PresetSchema
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