pub struct ZoneReference {
pub api_version: String,
pub kind: String,
pub name: String,
pub namespace: String,
pub zone_name: String,
pub last_reconciled_at: Option<String>,
}Expand description
Reference to a DNS zone selected by an instance.
This structure follows Kubernetes object reference conventions and stores
the complete information needed to reference a DNSZone resource.
Note on Equality: PartialEq, Eq, and Hash are implemented to compare only the
identity fields (api_version, kind, name, namespace, zone_name), ignoring last_reconciled_at.
This ensures that zones are correctly identified as duplicates even when their
reconciliation timestamps differ.
Fields§
§api_version: StringAPI version of the DNSZone resource (e.g., “bindy.firestoned.io/v1beta1”)
kind: StringKind of the resource (always “DNSZone”)
name: StringName of the DNSZone resource
namespace: StringNamespace of the DNSZone resource
zone_name: StringFully qualified domain name from the zone’s spec (e.g., “example.com”)
last_reconciled_at: Option<String>Timestamp when this zone was last successfully configured on the instance.
This field is set by the DNSZone controller after successfully applying zone configuration
to the instance. It is reset to None when:
- The instance’s pod restarts (requiring zone reconfiguration)
- The instance’s spec changes (requiring reconfiguration)
The DNSZone controller uses this field to determine which instances need zone configuration.
If this field is None, the zone needs to be configured on the instance.
Trait Implementations§
Source§impl Clone for ZoneReference
impl Clone for ZoneReference
Source§fn clone(&self) -> ZoneReference
fn clone(&self) -> ZoneReference
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ZoneReference
impl Debug for ZoneReference
Source§impl<'de> Deserialize<'de> for ZoneReference
impl<'de> Deserialize<'de> for ZoneReference
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>,
Source§impl Hash for ZoneReference
impl Hash for ZoneReference
Source§impl JsonSchema for ZoneReference
impl JsonSchema for ZoneReference
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for ZoneReference
impl PartialEq for ZoneReference
Source§impl Serialize for ZoneReference
impl Serialize for ZoneReference
impl Eq for ZoneReference
Auto Trait Implementations§
impl Freeze for ZoneReference
impl RefUnwindSafe for ZoneReference
impl Send for ZoneReference
impl Sync for ZoneReference
impl Unpin for ZoneReference
impl UnwindSafe for ZoneReference
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].