pub struct DomainReference {
pub role: String,
pub target: DomainReferenceTarget,
}Fields§
§role: String§target: DomainReferenceTargetImplementations§
Source§impl DomainReference
impl DomainReference
pub fn from_typed<T>(
role: impl Into<String>,
reference: TypedDomainRecordRef<T>,
) -> DomainReferencewhere
T: DomainRecordType,
Trait Implementations§
Source§impl Clone for DomainReference
impl Clone for DomainReference
Source§fn clone(&self) -> DomainReference
fn clone(&self) -> DomainReference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DomainReference
impl Debug for DomainReference
Source§impl<'de> Deserialize<'de> for DomainReference
impl<'de> Deserialize<'de> for DomainReference
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DomainReference, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DomainReference, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DomainReference
Source§impl Ord for DomainReference
impl Ord for DomainReference
Source§fn cmp(&self, other: &DomainReference) -> Ordering
fn cmp(&self, other: &DomainReference) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DomainReference
impl PartialEq for DomainReference
Source§impl PartialOrd for DomainReference
impl PartialOrd for DomainReference
Source§impl Serialize for DomainReference
impl Serialize for DomainReference
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DomainReference
Auto Trait Implementations§
impl Freeze for DomainReference
impl RefUnwindSafe for DomainReference
impl Send for DomainReference
impl Sync for DomainReference
impl Unpin for DomainReference
impl UnsafeUnpin for DomainReference
impl UnwindSafe for DomainReference
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