pub struct ModelWarningText {
pub data_retention: Option<String>,
}Expand description
Service-published warning text that hosts should display when presenting a model.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§data_retention: Option<String>Data-retention warning for the model. The text may contain Markdown links and should be rendered as Markdown when supported.
Trait Implementations§
Source§impl Clone for ModelWarningText
impl Clone for ModelWarningText
Source§fn clone(&self) -> ModelWarningText
fn clone(&self) -> ModelWarningText
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 ModelWarningText
impl Debug for ModelWarningText
Source§impl Default for ModelWarningText
impl Default for ModelWarningText
Source§fn default() -> ModelWarningText
fn default() -> ModelWarningText
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelWarningText
impl<'de> Deserialize<'de> for ModelWarningText
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 ModelWarningText
impl RefUnwindSafe for ModelWarningText
impl Send for ModelWarningText
impl Sync for ModelWarningText
impl Unpin for ModelWarningText
impl UnsafeUnpin for ModelWarningText
impl UnwindSafe for ModelWarningText
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