pub struct InternalErrorMessageResponse {
pub code: Option<InternalErrorCode>,
pub message: 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§
§code: Option<InternalErrorCode>§message: Option<String>Implementations§
Source§impl InternalErrorMessageResponse
impl InternalErrorMessageResponse
pub fn new() -> InternalErrorMessageResponse
Trait Implementations§
Source§impl Clone for InternalErrorMessageResponse
impl Clone for InternalErrorMessageResponse
Source§fn clone(&self) -> InternalErrorMessageResponse
fn clone(&self) -> InternalErrorMessageResponse
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 InternalErrorMessageResponse
impl Debug for InternalErrorMessageResponse
Source§impl Default for InternalErrorMessageResponse
impl Default for InternalErrorMessageResponse
Source§fn default() -> InternalErrorMessageResponse
fn default() -> InternalErrorMessageResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InternalErrorMessageResponse
impl<'de> Deserialize<'de> for InternalErrorMessageResponse
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 InternalErrorMessageResponse
impl PartialEq for InternalErrorMessageResponse
Source§fn eq(&self, other: &InternalErrorMessageResponse) -> bool
fn eq(&self, other: &InternalErrorMessageResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InternalErrorMessageResponse
Auto Trait Implementations§
impl Freeze for InternalErrorMessageResponse
impl RefUnwindSafe for InternalErrorMessageResponse
impl Send for InternalErrorMessageResponse
impl Sync for InternalErrorMessageResponse
impl Unpin for InternalErrorMessageResponse
impl UnwindSafe for InternalErrorMessageResponse
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