pub struct SignatureParams { /* private fields */ }Implementations§
Source§impl SignatureParams
impl SignatureParams
Sourcepub fn to_component(&self) -> HttpComponent
pub fn to_component(&self) -> HttpComponent
created is generated at [SignatureParams::to_string] called.
This is because the specification recommends the inclusion of “created” so the process generates it by default.
pub fn request_to_component<B>( &self, request: &Request<B>, ) -> Result<IndexSet<HttpComponent>, HttpComponentError>
pub fn response_to_component<B>( &self, response: &Response<B>, ) -> Result<IndexSet<HttpComponent>, HttpComponentError>
pub fn record_to_component<Req, Res>( &self, record: &ExchangeRecord<'_, Req, Res>, ) -> Result<IndexSet<HttpComponent>, HttpComponentError>
pub fn load_signer_key<S: SignerKey>( &self, key: &S, ) -> KeyPropertyLoadedSignatureParams<'_>
Trait Implementations§
Source§impl Clone for SignatureParams
impl Clone for SignatureParams
Source§fn clone(&self) -> SignatureParams
fn clone(&self) -> SignatureParams
Returns a duplicate of the value. Read more
1.0.0 · 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 SignatureParams
impl Debug for SignatureParams
Source§impl Display for SignatureParams
impl Display for SignatureParams
Source§impl From<SignatureInput> for SignatureParams
impl From<SignatureInput> for SignatureParams
Source§fn from(value: SignatureInput) -> Self
fn from(value: SignatureInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SignatureParams
impl RefUnwindSafe for SignatureParams
impl Send for SignatureParams
impl Sync for SignatureParams
impl Unpin for SignatureParams
impl UnsafeUnpin for SignatureParams
impl UnwindSafe for SignatureParams
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