Enum AiStreamingSupport
pub enum AiStreamingSupport {
None,
Text,
Events,
Audio,
Multimodal,
Unknown,
}Variants§
Implementations§
§impl AiStreamingSupport
impl AiStreamingSupport
pub const ALL: &'static [AiStreamingSupport]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AiStreamingSupport
impl Clone for AiStreamingSupport
§fn clone(&self) -> AiStreamingSupport
fn clone(&self) -> AiStreamingSupport
Returns a duplicate 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 more§impl Debug for AiStreamingSupport
impl Debug for AiStreamingSupport
§impl Display for AiStreamingSupport
impl Display for AiStreamingSupport
§impl FromStr for AiStreamingSupport
impl FromStr for AiStreamingSupport
§type Err = AiCapabilityError
type Err = AiCapabilityError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<AiStreamingSupport, <AiStreamingSupport as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AiStreamingSupport, <AiStreamingSupport as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AiStreamingSupport
impl Hash for AiStreamingSupport
§impl Ord for AiStreamingSupport
impl Ord for AiStreamingSupport
§fn cmp(&self, other: &AiStreamingSupport) -> Ordering
fn cmp(&self, other: &AiStreamingSupport) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for AiStreamingSupport
impl PartialEq for AiStreamingSupport
§impl PartialOrd for AiStreamingSupport
impl PartialOrd for AiStreamingSupport
impl Copy for AiStreamingSupport
impl Eq for AiStreamingSupport
impl StructuralPartialEq for AiStreamingSupport
Auto Trait Implementations§
impl Freeze for AiStreamingSupport
impl RefUnwindSafe for AiStreamingSupport
impl Send for AiStreamingSupport
impl Sync for AiStreamingSupport
impl Unpin for AiStreamingSupport
impl UnsafeUnpin for AiStreamingSupport
impl UnwindSafe for AiStreamingSupport
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