pub struct Needed {
pub app: String,
pub kind: String,
pub id: String,
pub action: String,
}Expand description
The grant the caller needs to request.
Fields§
§app: StringThe application audience.
kind: StringThe exact resource kind.
id: StringThe exact resource id.
action: StringThe requested action.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Needed
impl<'de> Deserialize<'de> for Needed
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 Needed
impl StructuralPartialEq for Needed
Auto Trait Implementations§
impl Freeze for Needed
impl RefUnwindSafe for Needed
impl Send for Needed
impl Sync for Needed
impl Unpin for Needed
impl UnsafeUnpin for Needed
impl UnwindSafe for Needed
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