Struct ory_keto_client::models::relation_query::RelationQuery [−][src]
pub struct RelationQuery {
pub namespace: String,
pub object: Option<String>,
pub relation: Option<String>,
pub subject_id: Option<String>,
pub subject_set: Option<Box<SubjectSet>>,
}
Fields
namespace: String
Namespace of the Relation Tuple
object: Option<String>
Object of the Relation Tuple
relation: Option<String>
Relation of the Relation Tuple
subject_id: Option<String>
SubjectID of the Relation Tuple Either SubjectSet or SubjectID can be provided.
subject_set: Option<Box<SubjectSet>>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RelationQuery
impl Send for RelationQuery
impl Sync for RelationQuery
impl Unpin for RelationQuery
impl UnwindSafe for RelationQuery
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more