pub struct HostPermissions {
pub host_id: String,
pub subject_id: String,
pub subject_name: String,
pub host_version: String,
pub platform: String,
pub observed_at_ms: i64,
pub permissions: Vec<HostPermission>,
pub declaration_errors: Vec<PermissionDeclarationError>,
}Fields§
§host_id: String§subject_id: String§subject_name: String§host_version: String§platform: String§observed_at_ms: i64§permissions: Vec<HostPermission>§declaration_errors: Vec<PermissionDeclarationError>Missing, malformed or unsupported declarations must remain visible. An empty permission list is not proof that the inventory is complete.
Trait Implementations§
Source§impl Clone for HostPermissions
impl Clone for HostPermissions
Source§fn clone(&self) -> HostPermissions
fn clone(&self) -> HostPermissions
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 HostPermissions
impl Debug for HostPermissions
Source§impl<'de> Deserialize<'de> for HostPermissions
impl<'de> Deserialize<'de> for HostPermissions
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
Auto Trait Implementations§
impl Freeze for HostPermissions
impl RefUnwindSafe for HostPermissions
impl Send for HostPermissions
impl Sync for HostPermissions
impl Unpin for HostPermissions
impl UnsafeUnpin for HostPermissions
impl UnwindSafe for HostPermissions
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