Enum AiMessageVisibility
pub enum AiMessageVisibility {
Internal,
UserVisible,
Hidden,
Redacted,
}Variants§
Implementations§
§impl AiMessageVisibility
impl AiMessageVisibility
pub const ALL: &'static [AiMessageVisibility]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AiMessageVisibility
impl Clone for AiMessageVisibility
§fn clone(&self) -> AiMessageVisibility
fn clone(&self) -> AiMessageVisibility
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 AiMessageVisibility
impl Debug for AiMessageVisibility
§impl Display for AiMessageVisibility
impl Display for AiMessageVisibility
§impl FromStr for AiMessageVisibility
impl FromStr for AiMessageVisibility
§type Err = AiMessageError
type Err = AiMessageError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<AiMessageVisibility, <AiMessageVisibility as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AiMessageVisibility, <AiMessageVisibility as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AiMessageVisibility
impl Hash for AiMessageVisibility
§impl Ord for AiMessageVisibility
impl Ord for AiMessageVisibility
§fn cmp(&self, other: &AiMessageVisibility) -> Ordering
fn cmp(&self, other: &AiMessageVisibility) -> 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 AiMessageVisibility
impl PartialEq for AiMessageVisibility
§impl PartialOrd for AiMessageVisibility
impl PartialOrd for AiMessageVisibility
impl Copy for AiMessageVisibility
impl Eq for AiMessageVisibility
impl StructuralPartialEq for AiMessageVisibility
Auto Trait Implementations§
impl Freeze for AiMessageVisibility
impl RefUnwindSafe for AiMessageVisibility
impl Send for AiMessageVisibility
impl Sync for AiMessageVisibility
impl Unpin for AiMessageVisibility
impl UnsafeUnpin for AiMessageVisibility
impl UnwindSafe for AiMessageVisibility
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