pub struct Owner<'a> {
pub address: String,
pub key: &'a str,
pub device_face: Option<&'a str>,
}Expand description
One listed owner of a policy, as the plan reads it: a listed service, or a device (v2 §2.5).
Fields§
§address: String<system>/<service>.
key: &'a strThe key the deployment’s implements names it by: a listed
service by its bare name (radio-a, on the policy’s system), a
device by its address (lab/radio-a), since a device may sit on
any system (v2 §2.5).
device_face: Option<&'a str>The face that attaches it, for a device.
Trait Implementations§
impl<'a> Eq for Owner<'a>
impl<'a> StructuralPartialEq for Owner<'a>
Auto Trait Implementations§
impl<'a> Forget for Owner<'a>
impl<'a> Freeze for Owner<'a>
impl<'a> Move for Owner<'a>
impl<'a> RefUnwindSafe for Owner<'a>
impl<'a> Send for Owner<'a>
impl<'a> Sync for Owner<'a>where
RawVecInner: Sync,
impl<'a> Unpin for Owner<'a>
impl<'a> UnsafeUnpin for Owner<'a>
impl<'a> UnwindSafe for Owner<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more