pub struct ProcessGrant {
pub service: String,
pub subjects: Vec<String>,
}Expand description
What a service process’s own credential admits: registering its subjects, and nothing else.
Fields§
§service: StringThe service the process runs.
subjects: Vec<String>The only subjects it may register.
Implementations§
Trait Implementations§
Source§impl Clone for ProcessGrant
impl Clone for ProcessGrant
Source§impl Debug for ProcessGrant
impl Debug for ProcessGrant
impl Eq for ProcessGrant
Source§impl PartialEq for ProcessGrant
impl PartialEq for ProcessGrant
impl StructuralPartialEq for ProcessGrant
Auto Trait Implementations§
impl Freeze for ProcessGrant
impl RefUnwindSafe for ProcessGrant
impl Send for ProcessGrant
impl Sync for ProcessGrant
impl Unpin for ProcessGrant
impl UnsafeUnpin for ProcessGrant
impl UnwindSafe for ProcessGrant
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<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.