pub struct ResourceRepresentation {
pub id: Option<TypeString>,
pub attributes: Option<TypeMap<String, TypeVec<String>>>,
pub display_name: Option<TypeString>,
pub icon_uri: Option<TypeString>,
pub name: Option<TypeString>,
pub owner: Option<ResourceOwnerRepresentation>,
pub owner_managed_access: Option<bool>,
pub scopes: Option<TypeVec<ScopeRepresentation>>,
pub scopes_uma: Option<TypeVec<ScopeRepresentation>>,
pub type_: Option<TypeString>,
pub uri: Option<TypeString>,
pub uris: Option<TypeVec<String>>,
}Fields§
§id: Option<TypeString>§attributes: Option<TypeMap<String, TypeVec<String>>>§display_name: Option<TypeString>§icon_uri: Option<TypeString>§name: Option<TypeString>§owner: Option<ResourceOwnerRepresentation>§owner_managed_access: Option<bool>§scopes: Option<TypeVec<ScopeRepresentation>>§scopes_uma: Option<TypeVec<ScopeRepresentation>>§type_: Option<TypeString>§uri: Option<TypeString>👎Deprecated
§uris: Option<TypeVec<String>>Trait Implementations§
Source§impl Clone for ResourceRepresentation
impl Clone for ResourceRepresentation
Source§fn clone(&self) -> ResourceRepresentation
fn clone(&self) -> ResourceRepresentation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResourceRepresentation
impl Debug for ResourceRepresentation
Source§impl Default for ResourceRepresentation
impl Default for ResourceRepresentation
Source§fn default() -> ResourceRepresentation
fn default() -> ResourceRepresentation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResourceRepresentation
impl<'de> Deserialize<'de> for ResourceRepresentation
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 ResourceRepresentation
Source§impl PartialEq for ResourceRepresentation
impl PartialEq for ResourceRepresentation
Source§fn eq(&self, other: &ResourceRepresentation) -> bool
fn eq(&self, other: &ResourceRepresentation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResourceRepresentation
impl Serialize for ResourceRepresentation
impl StructuralPartialEq for ResourceRepresentation
Auto Trait Implementations§
impl Freeze for ResourceRepresentation
impl RefUnwindSafe for ResourceRepresentation
impl Send for ResourceRepresentation
impl Sync for ResourceRepresentation
impl Unpin for ResourceRepresentation
impl UnsafeUnpin for ResourceRepresentation
impl UnwindSafe for ResourceRepresentation
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