Struct async_dnssd::RegisterRecordData [−][src]
pub struct RegisterRecordData {
pub flags: RegisterRecordFlags,
pub interface: Interface,
pub rr_class: Class,
pub ttl: u32,
// some fields omitted
}
Expand description
Optional data when registering a record; either use its default value or customize it like:
RegisterRecordData {
ttl: 60,
..Default::default()
};
Fields
flags: RegisterRecordFlags
flags for registration
interface: Interface
interface to register record on
rr_class: Class
class of the resource record (default: IN
)
ttl: u32
time to live of the resource record in seconds (passing 0 will select a sensible default)
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for RegisterRecordData
impl Send for RegisterRecordData
impl Sync for RegisterRecordData
impl Unpin for RegisterRecordData
impl UnwindSafe for RegisterRecordData
Blanket Implementations
Mutably borrows from an owned value. Read more