Enum aruna_cache::structs::ResourcePermission
source · pub enum ResourcePermission {
Resource(Resource),
GlobalAdmin,
ServiceAccount,
}Variants§
Trait Implementations§
source§impl Clone for ResourcePermission
impl Clone for ResourcePermission
source§fn clone(&self) -> ResourcePermission
fn clone(&self) -> ResourcePermission
Returns a copy of the value. Read more
1.0.0 · 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 ResourcePermission
impl Debug for ResourcePermission
source§impl From<Resource> for ResourcePermission
impl From<Resource> for ResourcePermission
source§impl Hash for ResourcePermission
impl Hash for ResourcePermission
source§impl Ord for ResourcePermission
impl Ord for ResourcePermission
source§fn cmp(&self, other: &ResourcePermission) -> Ordering
fn cmp(&self, other: &ResourcePermission) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ResourcePermission> for ResourcePermission
impl PartialEq<ResourcePermission> for ResourcePermission
source§fn eq(&self, other: &ResourcePermission) -> bool
fn eq(&self, other: &ResourcePermission) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ResourcePermission> for ResourcePermission
impl PartialOrd<ResourcePermission> for ResourcePermission
source§fn partial_cmp(&self, other: &ResourcePermission) -> Option<Ordering>
fn partial_cmp(&self, other: &ResourcePermission) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for ResourcePermission
impl StructuralEq for ResourcePermission
impl StructuralPartialEq for ResourcePermission
Auto Trait Implementations§
impl RefUnwindSafe for ResourcePermission
impl Send for ResourcePermission
impl Sync for ResourcePermission
impl Unpin for ResourcePermission
impl UnwindSafe for ResourcePermission
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request