pub struct AuthorizationModel {
pub id: Option<String>,
pub schema_version: Option<String>,
pub type_definitions: Option<Vec<TypeDefinition>>,
}Expand description
rust SDK for OpenFGA
API version: 0.1 Website: https://openfga.dev Documentation: https://openfga.dev/docs Support: https://discord.gg/8naAwJfWN6 License: Apache-2.0
NOTE: This file was auto generated by OpenAPI Generator (https://openapi-generator.tech). DO NOT EDIT.
Fields§
§id: Option<String>§schema_version: Option<String>§type_definitions: Option<Vec<TypeDefinition>>Implementations§
Source§impl AuthorizationModel
impl AuthorizationModel
pub fn new() -> AuthorizationModel
Trait Implementations§
Source§impl Clone for AuthorizationModel
impl Clone for AuthorizationModel
Source§fn clone(&self) -> AuthorizationModel
fn clone(&self) -> AuthorizationModel
Returns a duplicate of the value. Read more
1.0.0 · 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 AuthorizationModel
impl Debug for AuthorizationModel
Source§impl Default for AuthorizationModel
impl Default for AuthorizationModel
Source§fn default() -> AuthorizationModel
fn default() -> AuthorizationModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthorizationModel
impl<'de> Deserialize<'de> for AuthorizationModel
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
Source§impl PartialEq for AuthorizationModel
impl PartialEq for AuthorizationModel
Source§impl Serialize for AuthorizationModel
impl Serialize for AuthorizationModel
impl StructuralPartialEq for AuthorizationModel
Auto Trait Implementations§
impl Freeze for AuthorizationModel
impl RefUnwindSafe for AuthorizationModel
impl Send for AuthorizationModel
impl Sync for AuthorizationModel
impl Unpin for AuthorizationModel
impl UnwindSafe for AuthorizationModel
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