pub struct Message {
pub target_uri: String,
pub response_uri: String,
pub contents: Value,
}Expand description
An AMF Packet Header
Fields§
§target_uri: StringThe target URI that this message is intended for.
response_uri: StringThe response URI for this message.
For requests, this should be a unique identifier to represent “this message”, for example /1.
Responses will target this URI, suffixed with either /onResult or /onStatus (for success or failure).
For responses this may be empty.
contents: ValueThe contents of this message.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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