pub struct TrustCheck {
pub source: SourceRef,
pub state: TrustState,
pub scopes: Vec<SourceScope>,
pub official: bool,
pub installed_skills: Vec<String>,
}Expand description
What the trust prompt shows about a source.
Fields§
§source: SourceRef§state: TrustState§scopes: Vec<SourceScope>The scopes “always trust” offers, narrowest first.
official: bool§installed_skills: Vec<String>Store skills whose git source has this repository key.
Trait Implementations§
Source§impl Clone for TrustCheck
impl Clone for TrustCheck
Source§impl Debug for TrustCheck
impl Debug for TrustCheck
Source§impl PartialEq for TrustCheck
impl PartialEq for TrustCheck
impl StructuralPartialEq for TrustCheck
Auto Trait Implementations§
impl Forget for TrustCheck
impl Freeze for TrustCheckwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<SourceScope>: Freeze,
PhantomData<String>: Freeze,
impl Move for TrustCheck
impl RefUnwindSafe for TrustCheck
impl Send for TrustCheck
impl Sync for TrustCheck
impl Unpin for TrustCheck
impl UnsafeUnpin for TrustCheckwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<SourceScope>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for TrustCheck
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