pub struct SignedExchangeSignatureBuilder { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security and experimental only.Implementations§
Source§impl SignedExchangeSignatureBuilder
impl SignedExchangeSignatureBuilder
Sourcepub fn signature(&mut self, v: String) -> &mut Self
pub fn signature(&mut self, v: String) -> &mut Self
The hex string of signed exchange signature.
Sourcepub fn cert_sha256(&mut self, v: String) -> &mut Self
pub fn cert_sha256(&mut self, v: String) -> &mut Self
The hex string of signed exchange signature cert sha256.
Sourcepub fn validity_url(&mut self, v: String) -> &mut Self
pub fn validity_url(&mut self, v: String) -> &mut Self
Signed exchange signature validity Url.
Sourcepub fn certificates(&mut self, v: Vec<String>) -> &mut Self
pub fn certificates(&mut self, v: Vec<String>) -> &mut Self
The encoded certificates.
pub fn build(&mut self) -> Result<SignedExchangeSignature, &'static str>
Trait Implementations§
Source§impl Clone for SignedExchangeSignatureBuilder
impl Clone for SignedExchangeSignatureBuilder
Source§fn clone(&self) -> SignedExchangeSignatureBuilder
fn clone(&self) -> SignedExchangeSignatureBuilder
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 moreAuto Trait Implementations§
impl Freeze for SignedExchangeSignatureBuilder
impl RefUnwindSafe for SignedExchangeSignatureBuilder
impl Send for SignedExchangeSignatureBuilder
impl Sync for SignedExchangeSignatureBuilder
impl Unpin for SignedExchangeSignatureBuilder
impl UnwindSafe for SignedExchangeSignatureBuilder
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