pub struct CreateMessage {
pub object_id: ObjectId,
pub kind: ObjectKind,
pub payload: CreatePayload,
}Expand description
A generated CREATE submessage together with its ObjectId and ObjectKind, so that the caller can insert it at the right place in the submessage pipeline.
Fields§
§object_id: ObjectIdObjectId the CREATE applies to.
kind: ObjectKindKind (topic/publisher/…) for ordering validation.
payload: CreatePayloadFully constructed CreatePayload with a
RepresentationByXmlString body. The caller converts it via
CreatePayload::into_submessage into a crate::Submessage.
Trait Implementations§
Source§impl Clone for CreateMessage
impl Clone for CreateMessage
Source§fn clone(&self) -> CreateMessage
fn clone(&self) -> CreateMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateMessage
impl Debug for CreateMessage
impl Eq for CreateMessage
Source§impl PartialEq for CreateMessage
impl PartialEq for CreateMessage
impl StructuralPartialEq for CreateMessage
Auto Trait Implementations§
impl Freeze for CreateMessage
impl RefUnwindSafe for CreateMessage
impl Send for CreateMessage
impl Sync for CreateMessage
impl Unpin for CreateMessage
impl UnsafeUnpin for CreateMessage
impl UnwindSafe for CreateMessage
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