pub struct EmbedModelSetParams {
pub slot: Slot,
pub model: Option<SlotModel>,
}Expand description
Parameters of EMBED_MODEL_SET.
Fields§
§slot: SlotThe slot to set or clear.
model: Option<SlotModel>Its new model; None clears the slot. Must belong to slot.
Trait Implementations§
Source§impl Clone for EmbedModelSetParams
impl Clone for EmbedModelSetParams
Source§impl Debug for EmbedModelSetParams
impl Debug for EmbedModelSetParams
Source§impl<'de> Deserialize<'de> for EmbedModelSetParams
impl<'de> Deserialize<'de> for EmbedModelSetParams
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 EmbedModelSetParams
impl RefUnwindSafe for EmbedModelSetParams
impl Send for EmbedModelSetParams
impl Sync for EmbedModelSetParams
impl Unpin for EmbedModelSetParams
impl UnsafeUnpin for EmbedModelSetParams
impl UnwindSafe for EmbedModelSetParams
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