#[non_exhaustive]pub struct EbusTxt {
pub txtvers: String,
pub ebus_version: String,
pub roles: Vec<String>,
pub device_ids: Vec<String>,
pub auth_methods: Vec<String>,
pub txt: TxtRecord,
}Available on crate feature
alloc only.Expand description
A parsed _ebus._tcp TXT record (ebus.py:178-216).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.txtvers: Stringtxtvers, or "".
ebus_version: Stringebus_version, or "".
roles: Vec<String>The roles list.
device_ids: Vec<String>The device_id list.
auth_methods: Vec<String>The auth_methods list.
txt: TxtRecordThe whole record.
Implementations§
Trait Implementations§
impl Eq for EbusTxt
impl StructuralPartialEq for EbusTxt
Auto Trait Implementations§
impl Freeze for EbusTxt
impl RefUnwindSafe for EbusTxt
impl Send for EbusTxt
impl Sync for EbusTxt
impl Unpin for EbusTxt
impl UnsafeUnpin for EbusTxt
impl UnwindSafe for EbusTxt
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