Struct reinfer_client::resources::stream::NewStream
source · pub struct NewStream {
pub name: Name,
pub title: Option<String>,
pub description: Option<String>,
pub comment_filter: Option<CommentFilter>,
pub model: Option<StreamModel>,
}
Fields§
§name: Name
§title: Option<String>
§description: Option<String>
§comment_filter: Option<CommentFilter>
§model: Option<StreamModel>
Implementations§
source§impl NewStream
impl NewStream
pub fn set_model_version(&mut self, model_version: &ModelVersion)
Trait Implementations§
source§impl<'de> Deserialize<'de> for NewStream
impl<'de> Deserialize<'de> for NewStream
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 NewStream
impl RefUnwindSafe for NewStream
impl Send for NewStream
impl Sync for NewStream
impl Unpin for NewStream
impl UnwindSafe for NewStream
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