pub struct ToolSecurityStatus {
pub schema: &'static str,
pub machine: MachineScope,
pub repository: RepositoryScope,
}Expand description
The tool-surface security status result: two scopes, never one blob.
See this module’s documentation for why the split is in the document rather than in a comment. In short: the asset half describes the machine the server runs on and the layer half describes the selected project, so a reader who cannot tell them apart will attribute one to the other.
Fields§
§schema: &'static strStable schema tag (TOOL_SECURITY_STATUS_SCHEMA).
machine: MachineScopeWhat this machine has provisioned. Identical for every project this server hosts.
repository: RepositoryScopeWhat has been analyzed in the selected project. Different for each.
Trait Implementations§
Source§impl Clone for ToolSecurityStatus
impl Clone for ToolSecurityStatus
Source§fn clone(&self) -> ToolSecurityStatus
fn clone(&self) -> ToolSecurityStatus
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 ToolSecurityStatus
impl Debug for ToolSecurityStatus
Auto Trait Implementations§
impl Freeze for ToolSecurityStatus
impl RefUnwindSafe for ToolSecurityStatus
impl Send for ToolSecurityStatus
impl Sync for ToolSecurityStatus
impl Unpin for ToolSecurityStatus
impl UnsafeUnpin for ToolSecurityStatus
impl UnwindSafe for ToolSecurityStatus
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