Struct ory_client::models::relation_query::RelationQuery
source · pub struct RelationQuery {
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
RelationQuery : Relation Query
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 RelationQuery
impl RelationQuery
sourcepub fn new() -> RelationQuery
pub fn new() -> RelationQuery
Relation Query
Trait Implementations§
source§impl Clone for RelationQuery
impl Clone for RelationQuery
source§fn clone(&self) -> RelationQuery
fn clone(&self) -> RelationQuery
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 RelationQuery
impl Debug for RelationQuery
source§impl Default for RelationQuery
impl Default for RelationQuery
source§impl<'de> Deserialize<'de> for RelationQuery
impl<'de> Deserialize<'de> for RelationQuery
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<RelationQuery> for RelationQuery
impl PartialEq<RelationQuery> for RelationQuery
source§fn eq(&self, other: &RelationQuery) -> bool
fn eq(&self, other: &RelationQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.