pub struct RoleSuggestion {
pub role: String,
pub provider: String,
pub model: String,
pub reason: Option<String>,
}Expand description
One suggested role → provider/model assignment.
Fields§
§role: String§provider: String§model: String§reason: Option<String>Short, redacted reason. Advisory text for a human reader only.
Trait Implementations§
Source§impl Clone for RoleSuggestion
impl Clone for RoleSuggestion
Source§fn clone(&self) -> RoleSuggestion
fn clone(&self) -> RoleSuggestion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RoleSuggestion
impl Debug for RoleSuggestion
Source§impl<'de> Deserialize<'de> for RoleSuggestion
impl<'de> Deserialize<'de> for RoleSuggestion
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
impl Eq for RoleSuggestion
Source§impl PartialEq for RoleSuggestion
impl PartialEq for RoleSuggestion
Source§impl Serialize for RoleSuggestion
impl Serialize for RoleSuggestion
impl StructuralPartialEq for RoleSuggestion
Auto Trait Implementations§
impl Freeze for RoleSuggestion
impl RefUnwindSafe for RoleSuggestion
impl Send for RoleSuggestion
impl Sync for RoleSuggestion
impl Unpin for RoleSuggestion
impl UnsafeUnpin for RoleSuggestion
impl UnwindSafe for RoleSuggestion
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