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