pub struct Advert {
pub name: String,
}Expand description
What a server’s record says about it.
Fields§
§name: StringThe server’s name, possibly cut to fit the record.
Trait Implementations§
impl Eq for Advert
impl StructuralPartialEq for Advert
Auto Trait Implementations§
impl Freeze for Advert
impl RefUnwindSafe for Advert
impl Send for Advert
impl Sync for Advert
impl Unpin for Advert
impl UnsafeUnpin for Advert
impl UnwindSafe for Advert
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