[][src]Struct keycloak::types::PolicyRepresentation

pub struct PolicyRepresentation<'a> {
    pub config: Option<HashMap<Cow<'a, str>, Value>>,
    pub decision_strategy: Option<PolicyRepresentationDecisionStrategy>,
    pub description: Option<Cow<'a, str>>,
    pub id: Option<Cow<'a, str>>,
    pub logic: Option<PolicyRepresentationLogic>,
    pub name: Option<Cow<'a, str>>,
    pub owner: Option<Cow<'a, str>>,
    pub policies: Option<Vec<Cow<'a, str>>>,
    pub resources: Option<Vec<Cow<'a, str>>>,
    pub resources_data: Option<Vec<ResourceRepresentation<'a>>>,
    pub scopes: Option<Vec<Cow<'a, str>>>,
    pub scopes_data: Option<Vec<ScopeRepresentation<'a>>>,
    pub type_: Option<Cow<'a, str>>,
}

Fields

config: Option<HashMap<Cow<'a, str>, Value>>decision_strategy: Option<PolicyRepresentationDecisionStrategy>description: Option<Cow<'a, str>>id: Option<Cow<'a, str>>logic: Option<PolicyRepresentationLogic>name: Option<Cow<'a, str>>owner: Option<Cow<'a, str>>policies: Option<Vec<Cow<'a, str>>>resources: Option<Vec<Cow<'a, str>>>resources_data: Option<Vec<ResourceRepresentation<'a>>>scopes: Option<Vec<Cow<'a, str>>>scopes_data: Option<Vec<ScopeRepresentation<'a>>>type_: Option<Cow<'a, str>>

Trait Implementations

impl<'a> Clone for PolicyRepresentation<'a>[src]

impl<'a> Debug for PolicyRepresentation<'a>[src]

impl<'a> Default for PolicyRepresentation<'a>[src]

impl<'de, 'a> Deserialize<'de> for PolicyRepresentation<'a>[src]

impl<'a> PartialEq<PolicyRepresentation<'a>> for PolicyRepresentation<'a>[src]

impl<'a> Serialize for PolicyRepresentation<'a>[src]

impl<'a> StructuralPartialEq for PolicyRepresentation<'a>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.