pub struct Endpoint {
pub dns_name: Option<String>,
pub targets: Option<Vec<String>>,
pub record_type: Option<RecordType>,
pub set_identifier: Option<String>,
pub record_ttl: Option<u32>,
pub labels: Option<DashMap<String, String>>,
pub provider_specific: Option<DashMap<String, String>>,
}
Expand description
DNS record with extra infor used by ExternalDNS
From sample code, all fields are marked optional. I highly doubt that.
The PartialEq
, Eq
and Hash
are implenmented on DNS record fields
(dns_name
, targets
, record_type
, record_ttl
).
Fields§
§dns_name: Option<String>
§targets: Option<Vec<String>>
§record_type: Option<RecordType>
§set_identifier: Option<String>
§record_ttl: Option<u32>
§labels: Option<DashMap<String, String>>
§provider_specific: Option<DashMap<String, String>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Endpoint
impl<'de> Deserialize<'de> for Endpoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Endpoint
Auto Trait Implementations§
impl Freeze for Endpoint
impl !RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.