pub struct SettingsNope {
pub type: Option<()>,
pub model: Option<()>,
}
Expand description
Fallback for when no settings are provided. It is needed to fallback for older payloads with empty settings object.
Fields§
§type: Option<()>
§model: Option<()>
Trait Implementations§
Source§impl Clone for SettingsNope
impl Clone for SettingsNope
Source§fn clone(&self) -> SettingsNope
fn clone(&self) -> SettingsNope
Returns a copy 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 SettingsNope
impl Debug for SettingsNope
Source§impl<'de> Deserialize<'de> for SettingsNope
impl<'de> Deserialize<'de> for SettingsNope
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 SettingsNope
impl PartialEq for SettingsNope
Source§impl Serialize for SettingsNope
impl Serialize for SettingsNope
impl StructuralPartialEq for SettingsNope
Auto Trait Implementations§
impl Freeze for SettingsNope
impl RefUnwindSafe for SettingsNope
impl Send for SettingsNope
impl Sync for SettingsNope
impl Unpin for SettingsNope
impl UnwindSafe for SettingsNope
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