pub type ModelSummary = ModelSummary;
Aliased Type§
struct ModelSummary {
pub name: String,
pub version: String,
pub description: Option<String>,
pub deployed_version: Option<String>,
pub status: StatusType,
pub status_message: Option<String>,
}
Fields§
§name: String
§version: String
§description: Option<String>
§deployed_version: Option<String>
§status: StatusType
§status_message: Option<String>
Trait Implementations
Source§impl Clone for ModelSummary
impl Clone for ModelSummary
Source§fn clone(&self) -> ModelSummary
fn clone(&self) -> ModelSummary
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 ModelSummary
impl Debug for ModelSummary
Source§impl<R> Decode<R> for ModelSummary
impl<R> Decode<R> for ModelSummary
Source§type ListDecoder = ListDecoder<<ModelSummary as Decode<R>>::Decoder, R>
type ListDecoder = ListDecoder<<ModelSummary as Decode<R>>::Decoder, R>
Decoder used to decode lists of value
Source§impl<'de> Deserialize<'de> for ModelSummary
impl<'de> Deserialize<'de> for ModelSummary
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<W> Encode<W> for ModelSummary
impl<W> Encode<W> for ModelSummary
Source§fn encode(
self,
enc: &mut Self::Encoder,
dst: &mut BytesMut,
) -> Result<Option<Box<dyn FnOnce(T, Vec<usize>) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>> + Send>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode( self, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<Box<dyn FnOnce(T, Vec<usize>) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>> + Send>>, <Self::Encoder as Encoder<Self>>::Error>
Convenience function for encoding a value
Source§fn encode_iter_own<I>(
items: I,
enc: &mut Self::Encoder,
dst: &mut BytesMut,
) -> Result<Option<Box<dyn FnOnce(T, Vec<usize>) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>> + Send>>, <Self::Encoder as Encoder<Self>>::Error>where
I: IntoIterator<Item = Self>,
<I as IntoIterator>::IntoIter: ExactSizeIterator,
T: Index<T> + Send + Sync + 'static,
fn encode_iter_own<I>(
items: I,
enc: &mut Self::Encoder,
dst: &mut BytesMut,
) -> Result<Option<Box<dyn FnOnce(T, Vec<usize>) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>> + Send>>, <Self::Encoder as Encoder<Self>>::Error>where
I: IntoIterator<Item = Self>,
<I as IntoIterator>::IntoIter: ExactSizeIterator,
T: Index<T> + Send + Sync + 'static,
Encode an iterator of owned values
Source§fn encode_iter_ref<'a, I>(
items: I,
enc: &mut Self::Encoder,
dst: &mut BytesMut,
) -> Result<Option<Box<dyn FnOnce(T, Vec<usize>) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>> + Send>>, <Self::Encoder as Encoder<&'a Self>>::Error>where
I: IntoIterator<Item = &'a Self>,
<I as IntoIterator>::IntoIter: ExactSizeIterator,
T: Index<T> + Send + Sync + 'static,
Self::Encoder: Encoder<&'a Self>,
fn encode_iter_ref<'a, I>(
items: I,
enc: &mut Self::Encoder,
dst: &mut BytesMut,
) -> Result<Option<Box<dyn FnOnce(T, Vec<usize>) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>> + Send>>, <Self::Encoder as Encoder<&'a Self>>::Error>where
I: IntoIterator<Item = &'a Self>,
<I as IntoIterator>::IntoIter: ExactSizeIterator,
T: Index<T> + Send + Sync + 'static,
Self::Encoder: Encoder<&'a Self>,
Encode an iterator of value references
Source§fn encode_list_own(
items: Vec<Self>,
enc: &mut Self::Encoder,
dst: &mut BytesMut,
) -> Result<Option<Box<dyn FnOnce(T, Vec<usize>) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>> + Send>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode_list_own( items: Vec<Self>, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<Box<dyn FnOnce(T, Vec<usize>) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>> + Send>>, <Self::Encoder as Encoder<Self>>::Error>
Encode a list of owned values
Source§impl From<ModelSummary> for ModelSummary
impl From<ModelSummary> for ModelSummary
Source§fn from(summary: ModelSummary) -> Self
fn from(summary: ModelSummary) -> Self
Converts to this type from the input type.