pub struct Rel(pub String);Tuple Fields§
§0: StringImplementations§
Source§impl Rel
impl Rel
pub const TRIPLE_DOT: &'static str = "..."
pub const IS: &'static str = "is"
pub const PARENT: &'static str = "parent"
pub const IAM_GET: &'static str = "iam.get"
pub const IAM_UPDATE: &'static str = "iam.update"
pub const IAM_DELETE: &'static str = "iam.delete"
pub const SERVICEACCOUNT_GET: &'static str = "serviceaccount.get"
pub const SERVICEACCOUNT_CREATE: &'static str = "serviceaccount.create"
pub const SERVICEACCOUNT_KEY_GET: &'static str = "serviceaccount.key.get"
pub const SERVICEACCOUNT_KEY_CREATE: &'static str = "serviceaccount.key.create"
pub const SERVICEACCOUNT_CREATE_TOKEN: &'static str = "serviceaccount.createToken"
pub const USER_CREATE: &'static str = "user.create"
pub fn triple_dot() -> Rel
pub fn is() -> Rel
pub fn parent() -> Rel
pub fn iam_get() -> Rel
pub fn iam_update() -> Rel
pub fn iam_delete() -> Rel
pub fn serviceaccount_get() -> Rel
pub fn serviceaccount_create() -> Rel
pub fn serviceaccount_key_get() -> Rel
pub fn serviceaccount_key_create() -> Rel
pub fn serviceaccount_create_token() -> Rel
pub fn user_upsert() -> Rel
Trait Implementations§
Source§impl From<Permission> for Rel
impl From<Permission> for Rel
Source§fn from(value: Permission) -> Self
fn from(value: Permission) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Rel
impl RefUnwindSafe for Rel
impl Send for Rel
impl Sync for Rel
impl Unpin for Rel
impl UnwindSafe for Rel
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,
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