pub struct FallbackModel {
pub model: String,
}Expand description
A model reference inside a FallbackBlock.
Fields§
§model: StringTrait Implementations§
Source§impl Clone for FallbackModel
impl Clone for FallbackModel
Source§fn clone(&self) -> FallbackModel
fn clone(&self) -> FallbackModel
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 FallbackModel
impl Debug for FallbackModel
Source§impl<'de> Deserialize<'de> for FallbackModel
impl<'de> Deserialize<'de> for FallbackModel
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
impl Eq for FallbackModel
Source§impl PartialEq for FallbackModel
impl PartialEq for FallbackModel
Source§fn eq(&self, other: &FallbackModel) -> bool
fn eq(&self, other: &FallbackModel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FallbackModel
impl Serialize for FallbackModel
impl StructuralPartialEq for FallbackModel
Auto Trait Implementations§
impl Freeze for FallbackModel
impl RefUnwindSafe for FallbackModel
impl Send for FallbackModel
impl Sync for FallbackModel
impl Unpin for FallbackModel
impl UnsafeUnpin for FallbackModel
impl UnwindSafe for FallbackModel
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