Struct ory_client::models::post_check_permission_or_error_body::PostCheckPermissionOrErrorBody
source · pub struct PostCheckPermissionOrErrorBody {
pub namespace: Option<String>,
pub object: Option<String>,
pub relation: Option<String>,
pub subject_id: Option<String>,
pub subject_set: Option<Box<SubjectSet>>,
}
Expand description
PostCheckPermissionOrErrorBody : Post Check Permission Or Error Body
Fields§
§namespace: Option<String>
Namespace to query
object: Option<String>
Object to query
relation: Option<String>
Relation to query
subject_id: Option<String>
SubjectID to query Either SubjectSet or SubjectID can be provided.
subject_set: Option<Box<SubjectSet>>
Implementations§
source§impl PostCheckPermissionOrErrorBody
impl PostCheckPermissionOrErrorBody
sourcepub fn new() -> PostCheckPermissionOrErrorBody
pub fn new() -> PostCheckPermissionOrErrorBody
Post Check Permission Or Error Body
Trait Implementations§
source§impl Clone for PostCheckPermissionOrErrorBody
impl Clone for PostCheckPermissionOrErrorBody
source§fn clone(&self) -> PostCheckPermissionOrErrorBody
fn clone(&self) -> PostCheckPermissionOrErrorBody
Returns a copy 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<'de> Deserialize<'de> for PostCheckPermissionOrErrorBody
impl<'de> Deserialize<'de> for PostCheckPermissionOrErrorBody
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<PostCheckPermissionOrErrorBody> for PostCheckPermissionOrErrorBody
impl PartialEq<PostCheckPermissionOrErrorBody> for PostCheckPermissionOrErrorBody
source§fn eq(&self, other: &PostCheckPermissionOrErrorBody) -> bool
fn eq(&self, other: &PostCheckPermissionOrErrorBody) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.