pub struct HostScope {
pub identifier_ref: Option<String>,
pub namespace: String,
pub value: String,
pub derivation: ProfileRef,
pub stability: String,
pub clone_behavior: String,
}Expand description
Caller-supplied host-scope descriptor (process.host_scope).
This descriptor crosses an explicit caller trust boundary; it does not self-authenticate physical-machine uniqueness.
Fields§
§identifier_ref: Option<String>Optional report-local identifier ID (^[a-z][a-z0-9-]{0,63}$).
namespace: StringIdentifier namespace (1..=512 Unicode scalar values).
value: StringIdentifier value (1..=512 Unicode scalar values).
derivation: ProfileRefPinned derivation {id, revision}.
stability: StringLifecycle stability (unknown | process | boot | installation | enrollment | device).
clone_behavior: StringClone behavior (unknown | copyable | regenerated | device-bound).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HostScope
impl<'de> Deserialize<'de> for HostScope
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 HostScope
impl StructuralPartialEq for HostScope
Auto Trait Implementations§
impl Forget for HostScope
impl Freeze for HostScope
impl Move for HostScope
impl RefUnwindSafe for HostScope
impl Send for HostScope
impl Sync for HostScope
impl Unpin for HostScope
impl UnsafeUnpin for HostScope
impl UnwindSafe for HostScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.