#[non_exhaustive]pub struct EffectiveModel {
pub model_id: String,
pub provider_id: Option<String>,
pub source: ModelChangeSource,
}Expand description
The latest effective-model fact in the snapshot.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.model_id: StringThe selected model.
provider_id: Option<String>The selected provider; null when the selection names none.
source: ModelChangeSourceWhat drove the selection.
Trait Implementations§
Source§impl Clone for EffectiveModel
impl Clone for EffectiveModel
Source§impl Debug for EffectiveModel
impl Debug for EffectiveModel
Source§impl<'de> Deserialize<'de> for EffectiveModel
impl<'de> Deserialize<'de> for EffectiveModel
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 EffectiveModel
Source§impl PartialEq for EffectiveModel
impl PartialEq for EffectiveModel
Source§impl Serialize for EffectiveModel
impl Serialize for EffectiveModel
impl StructuralPartialEq for EffectiveModel
Auto Trait Implementations§
impl Freeze for EffectiveModel
impl RefUnwindSafe for EffectiveModel
impl Send for EffectiveModel
impl Sync for EffectiveModel
impl Unpin for EffectiveModel
impl UnsafeUnpin for EffectiveModel
impl UnwindSafe for EffectiveModel
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