pub struct MessageVaultId {
pub id: ThreeTwo,
}Fields§
§id: ThreeTwoTrait Implementations§
Source§impl Clone for MessageVaultId
impl Clone for MessageVaultId
Source§fn clone(&self) -> MessageVaultId
fn clone(&self) -> MessageVaultId
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 MessageVaultId
impl Debug for MessageVaultId
Source§impl From<MessageVaultId> for MessageVaultLink
impl From<MessageVaultId> for MessageVaultLink
Source§fn from(from: WireMessageVaultId) -> Self
fn from(from: WireMessageVaultId) -> Self
Converts to this type from the input type.
Source§impl Hash for MessageVaultId
impl Hash for MessageVaultId
Source§impl Key for MessageVaultId
impl Key for MessageVaultId
Source§impl PartialEq for MessageVaultId
impl PartialEq for MessageVaultId
Source§impl ProstCommunicable<Request> for MessageVaultId
impl ProstCommunicable<Request> for MessageVaultId
const COMMUNICATION_VARIANT: Request = Request::MessageVaultId
fn to_communication_via_prost(&self) -> Communication<T>
fn try_from_communication( communication: &Communication<T>, ) -> Result<Self, DecodeError>
Source§impl ProstCommunicable<Response> for MessageVaultId
impl ProstCommunicable<Response> for MessageVaultId
const COMMUNICATION_VARIANT: Response = Response::MessageVaultId
fn to_communication_via_prost(&self) -> Communication<T>
fn try_from_communication( communication: &Communication<T>, ) -> Result<Self, DecodeError>
Source§impl ProstDecode for MessageVaultId
impl ProstDecode for MessageVaultId
type EncodedType = MessageVaultId
fn decode<M>(message: M) -> Result<Self, DecodeError>
Source§impl ProstEncode for MessageVaultId
impl ProstEncode for MessageVaultId
Source§impl RandomFromRng for MessageVaultId
impl RandomFromRng for MessageVaultId
fn random_from_rng(csprng: &mut impl CryptoRngCore) -> Self
Source§impl Value for MessageVaultId
impl Value for MessageVaultId
Source§type SelfType<'a> = MessageVaultId
where
Self: 'a
type SelfType<'a> = MessageVaultId 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 MessageVaultId
impl Eq for MessageVaultId
impl StructuralPartialEq for MessageVaultId
Auto Trait Implementations§
impl Freeze for MessageVaultId
impl RefUnwindSafe for MessageVaultId
impl Send for MessageVaultId
impl Sync for MessageVaultId
impl Unpin for MessageVaultId
impl UnwindSafe for MessageVaultId
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