pub struct CustomDomain {
pub name: FQDN,
pub canister_id: Principal,
pub timestamp: u64,
}Expand description
Represents a custom domain with a corresponding canister ID
Fields§
§name: FQDN§canister_id: Principal§timestamp: u64Opaque timestamp to reflect when the domain was created, can be zero
Trait Implementations§
Source§impl Clone for CustomDomain
impl Clone for CustomDomain
Source§fn clone(&self) -> CustomDomain
fn clone(&self) -> CustomDomain
Returns a duplicate 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 CustomDomain
impl Debug for CustomDomain
Source§impl PartialEq for CustomDomain
impl PartialEq for CustomDomain
impl Eq for CustomDomain
impl StructuralPartialEq for CustomDomain
Auto Trait Implementations§
impl Freeze for CustomDomain
impl RefUnwindSafe for CustomDomain
impl Send for CustomDomain
impl Sync for CustomDomain
impl Unpin for CustomDomain
impl UnwindSafe for CustomDomain
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.