pub type PublicBytes<const N: usize, SubTag> = CryptoBytes<N, (PublicTag, SubTag)>;Expand description
Generic encoded public key.
Aliased Type§
#[repr(transparent)]pub struct PublicBytes<const N: usize, SubTag>(pub [u8; N], _);Tuple Fields§
§0: [u8; N]Trait Implementations§
Source§impl<const N: usize, SubTag> Debug for PublicBytes<N, SubTag>where
Self: CryptoType,
impl<const N: usize, SubTag> Debug for PublicBytes<N, SubTag>where
Self: CryptoType,
Source§impl<const N: usize, SubTag> Derive for PublicBytes<N, SubTag>where
Self: CryptoType,
impl<const N: usize, SubTag> Derive for PublicBytes<N, SubTag>where
Self: CryptoType,
Source§impl<'de, const N: usize, SubTag> Deserialize<'de> for PublicBytes<N, SubTag>where
Self: CryptoType,
Available on crate feature serde only.
impl<'de, const N: usize, SubTag> Deserialize<'de> for PublicBytes<N, SubTag>where
Self: CryptoType,
Available on crate feature
serde only.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<const N: usize, SubTag> Display for PublicBytes<N, SubTag>where
Self: CryptoType,
Available on crate feature std only.
impl<const N: usize, SubTag> Display for PublicBytes<N, SubTag>where
Self: CryptoType,
Available on crate feature
std only.Source§impl<const N: usize, SubTag> FromStr for PublicBytes<N, SubTag>where
Self: CryptoType,
Available on crate feature std only.
impl<const N: usize, SubTag> FromStr for PublicBytes<N, SubTag>where
Self: CryptoType,
Available on crate feature
std only.Source§impl<const N: usize, SubTag> Serialize for PublicBytes<N, SubTag>where
Self: CryptoType,
Available on crate feature serde only.
impl<const N: usize, SubTag> Serialize for PublicBytes<N, SubTag>where
Self: CryptoType,
Available on crate feature
serde only.