pub struct PostCheckPermissionBody {
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
PostCheckPermissionBody : Check Permission using Post Request 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 PostCheckPermissionBody
impl PostCheckPermissionBody
sourcepub fn new() -> PostCheckPermissionBody
pub fn new() -> PostCheckPermissionBody
Check Permission using Post Request Body
Trait Implementations§
source§impl Clone for PostCheckPermissionBody
impl Clone for PostCheckPermissionBody
source§fn clone(&self) -> PostCheckPermissionBody
fn clone(&self) -> PostCheckPermissionBody
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 Debug for PostCheckPermissionBody
impl Debug for PostCheckPermissionBody
source§impl Default for PostCheckPermissionBody
impl Default for PostCheckPermissionBody
source§impl<'de> Deserialize<'de> for PostCheckPermissionBody
impl<'de> Deserialize<'de> for PostCheckPermissionBody
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<PostCheckPermissionBody> for PostCheckPermissionBody
impl PartialEq<PostCheckPermissionBody> for PostCheckPermissionBody
source§fn eq(&self, other: &PostCheckPermissionBody) -> bool
fn eq(&self, other: &PostCheckPermissionBody) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.