pub struct PhoneServiceEvent {
pub kind: PhoneServiceMessageKind,
pub routing: PhoneServiceRouting,
pub extended: Option<PhoneServiceExtendedRouting>,
pub payload: PhoneServicePayload,
}Expand description
One decoded application envelope and its typed or preserved payload.
Fields§
§kind: PhoneServiceMessageKindDetermines which payload grammar was accepted.
routing: PhoneServiceRouting§extended: Option<PhoneServiceExtendedRouting>Extended fields when the envelope used the extended message form.
payload: PhoneServicePayloadDecoded payload or exact bounded bytes for an unsupported payload.
Trait Implementations§
Source§impl Clone for PhoneServiceEvent
impl Clone for PhoneServiceEvent
Source§fn clone(&self) -> PhoneServiceEvent
fn clone(&self) -> PhoneServiceEvent
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 PhoneServiceEvent
impl Debug for PhoneServiceEvent
impl Eq for PhoneServiceEvent
Source§impl PartialEq for PhoneServiceEvent
impl PartialEq for PhoneServiceEvent
impl StructuralPartialEq for PhoneServiceEvent
Auto Trait Implementations§
impl Freeze for PhoneServiceEvent
impl RefUnwindSafe for PhoneServiceEvent
impl Send for PhoneServiceEvent
impl Sync for PhoneServiceEvent
impl Unpin for PhoneServiceEvent
impl UnsafeUnpin for PhoneServiceEvent
impl UnwindSafe for PhoneServiceEvent
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