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 duplicate 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§fn default() -> RelationshipPatch
fn default() -> RelationshipPatch
Returns the “default value” for a type. Read more
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 for RelationshipPatch
impl PartialEq for RelationshipPatch
Source§impl Serialize for RelationshipPatch
impl Serialize for RelationshipPatch
impl StructuralPartialEq for RelationshipPatch
Auto Trait Implementations§
impl Freeze for RelationshipPatch
impl RefUnwindSafe for RelationshipPatch
impl Send for RelationshipPatch
impl Sync for RelationshipPatch
impl Unpin for RelationshipPatch
impl UnwindSafe for RelationshipPatch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more