Struct ory_client::models::relationship_patch::RelationshipPatch
source · pub struct RelationshipPatch {
pub action: Option<ActionEnum>,
pub relation_tuple: Option<Box<Relationship>>,
}
Expand description
RelationshipPatch : Payload for patching a relationship
Fields§
§action: Option<ActionEnum>
§relation_tuple: Option<Box<Relationship>>
Implementations§
source§impl RelationshipPatch
impl RelationshipPatch
sourcepub fn new() -> RelationshipPatch
pub fn new() -> RelationshipPatch
Payload for patching a relationship
Trait Implementations§
source§impl Clone for RelationshipPatch
impl Clone for RelationshipPatch
source§fn clone(&self) -> RelationshipPatch
fn clone(&self) -> RelationshipPatch
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 RelationshipPatch
impl Debug for RelationshipPatch
source§impl Default for RelationshipPatch
impl Default for RelationshipPatch
source§impl<'de> Deserialize<'de> for RelationshipPatch
impl<'de> Deserialize<'de> for RelationshipPatch
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<RelationshipPatch> for RelationshipPatch
impl PartialEq<RelationshipPatch> for RelationshipPatch
source§fn eq(&self, other: &RelationshipPatch) -> bool
fn eq(&self, other: &RelationshipPatch) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.