pub struct RelationCreatedEvent {
pub relation_id: WireUuid,
pub relation_type: String,
pub from: WireUuid,
pub to: WireUuid,
}Expand description
GraphEventPayload::RelationCreated body: a new typed relation was created
from from to to.
Fields§
§relation_id: WireUuid§relation_type: String§from: WireUuid§to: WireUuidTrait Implementations§
Source§impl Clone for RelationCreatedEvent
impl Clone for RelationCreatedEvent
Source§impl Debug for RelationCreatedEvent
impl Debug for RelationCreatedEvent
Source§impl<'de> Deserialize<'de> for RelationCreatedEvent
impl<'de> Deserialize<'de> for RelationCreatedEvent
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 RelationCreatedEvent
impl PartialEq for RelationCreatedEvent
Source§impl Serialize for RelationCreatedEvent
impl Serialize for RelationCreatedEvent
impl StructuralPartialEq for RelationCreatedEvent
Auto Trait Implementations§
impl Freeze for RelationCreatedEvent
impl RefUnwindSafe for RelationCreatedEvent
impl Send for RelationCreatedEvent
impl Sync for RelationCreatedEvent
impl Unpin for RelationCreatedEvent
impl UnsafeUnpin for RelationCreatedEvent
impl UnwindSafe for RelationCreatedEvent
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