pub struct EnvelopeId {
pub id: ThreeTwo,
}Fields§
§id: ThreeTwoTrait Implementations§
Source§impl Clone for EnvelopeId
impl Clone for EnvelopeId
Source§fn clone(&self) -> EnvelopeId
fn clone(&self) -> EnvelopeId
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 EnvelopeId
impl Debug for EnvelopeId
Source§impl Hash for EnvelopeId
impl Hash for EnvelopeId
Source§impl Key for EnvelopeId
impl Key for EnvelopeId
Source§impl PartialEq for EnvelopeId
impl PartialEq for EnvelopeId
Source§impl ProstCommunicable<Request> for EnvelopeId
impl ProstCommunicable<Request> for EnvelopeId
const COMMUNICATION_VARIANT: Request = Request::EnvelopeId
fn to_communication_via_prost(&self) -> Communication<T>
fn try_from_communication( communication: &Communication<T>, ) -> Result<Self, DecodeError>
Source§impl ProstDecode for EnvelopeId
impl ProstDecode for EnvelopeId
type EncodedType = EnvelopeId
fn decode<M>(message: M) -> Result<Self, DecodeError>
Source§impl ProstEncode for EnvelopeId
impl ProstEncode for EnvelopeId
Source§impl RandomFromRng for EnvelopeId
impl RandomFromRng for EnvelopeId
fn random_from_rng(csprng: &mut impl CryptoRngCore) -> Self
Source§impl Value for EnvelopeId
impl Value for EnvelopeId
Source§type SelfType<'a> = EnvelopeId
where
Self: 'a
type SelfType<'a> = EnvelopeId where Self: 'a
SelfType<'a> must be the same type as Self with all lifetimes replaced with ’atype AsBytes<'a> = [u8; 32] where Self: 'a
Source§fn fixed_width() -> Option<usize>
fn fixed_width() -> Option<usize>
Width of a fixed type, or None for variable width
Source§fn from_bytes<'a>(data: &'a [u8]) -> Self::SelfType<'a>where
Self: 'a,
fn from_bytes<'a>(data: &'a [u8]) -> Self::SelfType<'a>where
Self: 'a,
Deserializes data
Implementations may return a view over data, or an owned type
impl Copy for EnvelopeId
impl Eq for EnvelopeId
impl StructuralPartialEq for EnvelopeId
Auto Trait Implementations§
impl Freeze for EnvelopeId
impl RefUnwindSafe for EnvelopeId
impl Send for EnvelopeId
impl Sync for EnvelopeId
impl Unpin for EnvelopeId
impl UnwindSafe for EnvelopeId
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