Struct jormungandr_lib::interfaces::certificate::SignedCertificate
source · pub struct SignedCertificate(pub SignedCertificate);
Tuple Fields§
§0: SignedCertificate
Implementations§
source§impl SignedCertificate
impl SignedCertificate
pub fn strip_auth(self) -> Certificate
source§impl SignedCertificate
impl SignedCertificate
pub fn to_bech32m(&self) -> Result<String, CertificateToBech32Error>
pub fn from_bech32(bech32: &str) -> Result<Self, CertificateFromBech32Error>
Trait Implementations§
source§impl Clone for SignedCertificate
impl Clone for SignedCertificate
source§fn clone(&self) -> SignedCertificate
fn clone(&self) -> SignedCertificate
Returns a copy 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 SignedCertificate
impl Debug for SignedCertificate
source§impl<'de> Deserialize<'de> for SignedCertificate
impl<'de> Deserialize<'de> for SignedCertificate
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl DeserializeFromSlice for SignedCertificate
impl DeserializeFromSlice for SignedCertificate
fn deserialize_from_slice(codec: &mut Codec<&[u8]>) -> Result<Self, ReadError>
fn deserialize_validate_from_slice( codec: &mut Codec<&[u8]> ) -> Result<(), ReadError>
source§impl Display for SignedCertificate
impl Display for SignedCertificate
source§impl From<SignedCertificate> for SignedCertificate
impl From<SignedCertificate> for SignedCertificate
source§fn from(v: SignedCertificate) -> Self
fn from(v: SignedCertificate) -> Self
Converts to this type from the input type.
source§impl From<SignedCertificate> for SignedCertificate
impl From<SignedCertificate> for SignedCertificate
source§impl PartialEq<SignedCertificate> for SignedCertificate
impl PartialEq<SignedCertificate> for SignedCertificate
Auto Trait Implementations§
impl RefUnwindSafe for SignedCertificate
impl Send for SignedCertificate
impl Sync for SignedCertificate
impl Unpin for SignedCertificate
impl UnwindSafe for SignedCertificate
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