pub struct ObjectRelation {
pub object: Option<String>,
pub relation: Option<String>,
}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§
§object: Option<String>§relation: Option<String>Implementations§
Source§impl ObjectRelation
impl ObjectRelation
pub fn new() -> ObjectRelation
Trait Implementations§
Source§impl Clone for ObjectRelation
impl Clone for ObjectRelation
Source§fn clone(&self) -> ObjectRelation
fn clone(&self) -> ObjectRelation
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 ObjectRelation
impl Debug for ObjectRelation
Source§impl Default for ObjectRelation
impl Default for ObjectRelation
Source§fn default() -> ObjectRelation
fn default() -> ObjectRelation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ObjectRelation
impl<'de> Deserialize<'de> for ObjectRelation
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 ObjectRelation
impl PartialEq for ObjectRelation
Source§impl Serialize for ObjectRelation
impl Serialize for ObjectRelation
impl StructuralPartialEq for ObjectRelation
Auto Trait Implementations§
impl Freeze for ObjectRelation
impl RefUnwindSafe for ObjectRelation
impl Send for ObjectRelation
impl Sync for ObjectRelation
impl Unpin for ObjectRelation
impl UnwindSafe for ObjectRelation
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