pub struct Domain {
pub name: String,
pub version: String,
pub chain_id: u64,
pub verifying_contract: Address,
}Expand description
EIP-712 domain separator
Fields§
§name: String§version: String§chain_id: u64§verifying_contract: AddressTrait Implementations§
Auto Trait Implementations§
impl Freeze for Domain
impl RefUnwindSafe for Domain
impl Send for Domain
impl Sync for Domain
impl Unpin for Domain
impl UnwindSafe for Domain
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