pub enum ToolTrust {
Product,
User,
Workspace,
Untrusted,
}Expand description
Host-assigned trust class for a tool source.
Variants§
Product
Source shipped and controlled by the product.
User
Source configured directly by the current user.
Workspace
Source enabled by trusted workspace configuration.
Untrusted
Source has no affirmative trust assignment.
Trait Implementations§
impl Copy for ToolTrust
Source§impl<'de> Deserialize<'de> for ToolTrust
impl<'de> Deserialize<'de> for ToolTrust
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 ToolTrust
Source§impl Ord for ToolTrust
impl Ord for ToolTrust
1.21.0 (const: unstable) · 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
Source§impl PartialOrd for ToolTrust
impl PartialOrd for ToolTrust
impl StructuralPartialEq for ToolTrust
Auto Trait Implementations§
impl Freeze for ToolTrust
impl RefUnwindSafe for ToolTrust
impl Send for ToolTrust
impl Sync for ToolTrust
impl Unpin for ToolTrust
impl UnsafeUnpin for ToolTrust
impl UnwindSafe for ToolTrust
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