pub struct AccountId {
pub prefix: Felt,
pub suffix: Felt,
}Expand description
Unique identifier for a Miden account, composed of two field elements.
Fields§
§prefix: Felt§suffix: FeltImplementations§
Trait Implementations§
Source§impl FromFeltRepr for AccountId
impl FromFeltRepr for AccountId
Source§fn from_felt_repr(reader: &mut FeltReader<'_>) -> Self
fn from_felt_repr(reader: &mut FeltReader<'_>) -> Self
Deserializes from a
FeltReader, consuming the required elements.impl Copy for AccountId
impl Eq for AccountId
impl StructuralPartialEq for AccountId
Auto Trait Implementations§
impl Freeze for AccountId
impl RefUnwindSafe for AccountId
impl Send for AccountId
impl Sync for AccountId
impl Unpin for AccountId
impl UnwindSafe for AccountId
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