pub struct Outgoing<'a> {
pub method: &'a str,
pub url: &'a str,
pub content_type: Option<&'a str>,
pub body: Option<&'a [u8]>,
pub created: i64,
}Expand description
A request to sign, as its recipient will see it.
Fields§
§method: &'a strThe method, in any case.
url: &'a strAbsolute: its authority, path and query are covered.
content_type: Option<&'a str>Defaults to application/json for a request with a body.
body: Option<&'a [u8]>The body exactly as it will be sent, when there is one.
created: i64Seconds since the epoch.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Outgoing<'a>
impl<'a> RefUnwindSafe for Outgoing<'a>
impl<'a> Send for Outgoing<'a>
impl<'a> Sync for Outgoing<'a>
impl<'a> Unpin for Outgoing<'a>
impl<'a> UnsafeUnpin for Outgoing<'a>
impl<'a> UnwindSafe for Outgoing<'a>
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