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