pub struct RecordSet {
pub zone_id: Uuid,
pub name: String,
pub record_type: String,
pub ttl: u32,
pub values: Vec<RecordValue>,
}Expand description
An RRset (“group”): every value with the same (zone_id, name, type), all with the same
ttl. Core stores no RRset of its own (no uuid, no timestamps); it assembles one for
Records::get and Records::set_ttl,
and ops::group_values does the same for a list of values.
name is the full owner name, lowercase, without trailing dot.
Fields§
§zone_id: UuidZone the group belongs to.
name: StringFull owner name (www.example.com).
record_type: StringRecord type, uppercase (A, MX, …).
ttl: u32TTL in seconds, shared by all values.
values: Vec<RecordValue>The values; never empty.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RecordSet
impl<'de> Deserialize<'de> for RecordSet
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
Auto Trait Implementations§
impl Freeze for RecordSet
impl RefUnwindSafe for RecordSet
impl Send for RecordSet
impl Sync for RecordSet
impl Unpin for RecordSet
impl UnsafeUnpin for RecordSet
impl UnwindSafe for RecordSet
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