pub struct GrantEntry {
pub client_id: String,
pub service_id: Option<String>,
pub permissions: Vec<String>,
}Expand description
One client’s permissions at one scope (service_id absent = tenant-wide).
Fields§
§client_id: String§service_id: Option<String>§permissions: Vec<String>Trait Implementations§
Source§impl Clone for GrantEntry
impl Clone for GrantEntry
Source§impl Debug for GrantEntry
impl Debug for GrantEntry
Source§impl<'de> Deserialize<'de> for GrantEntry
impl<'de> Deserialize<'de> for GrantEntry
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 GrantEntry
Source§impl PartialEq for GrantEntry
impl PartialEq for GrantEntry
Source§impl Serialize for GrantEntry
impl Serialize for GrantEntry
impl StructuralPartialEq for GrantEntry
Auto Trait Implementations§
impl Freeze for GrantEntry
impl RefUnwindSafe for GrantEntry
impl Send for GrantEntry
impl Sync for GrantEntry
impl Unpin for GrantEntry
impl UnsafeUnpin for GrantEntry
impl UnwindSafe for GrantEntry
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