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