pub struct Suggestion {
pub domain: Option<String>,
pub subdomain: Option<String>,
pub zone: Option<String>,
pub path: Option<String>,
}Expand description
Suggestion : All attributes for a suggested domain.
Fields§
§domain: Option<String>The suggested domain, consisting of a subdomain and zone.
subdomain: Option<String>The subdomain of the suggested domain.
zone: Option<String>The zone of the suggested domain.
path: Option<String>If present, the path is to be appended to the domain to complete the suggestion.
Implementations§
Source§impl Suggestion
impl Suggestion
Sourcepub fn new() -> Suggestion
pub fn new() -> Suggestion
All attributes for a suggested domain.
Trait Implementations§
Source§impl Clone for Suggestion
impl Clone for Suggestion
Source§fn clone(&self) -> Suggestion
fn clone(&self) -> Suggestion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Suggestion
impl Debug for Suggestion
Source§impl Default for Suggestion
impl Default for Suggestion
Source§fn default() -> Suggestion
fn default() -> Suggestion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Suggestion
impl<'de> Deserialize<'de> for Suggestion
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
Source§impl PartialEq for Suggestion
impl PartialEq for Suggestion
Source§impl Serialize for Suggestion
impl Serialize for Suggestion
impl StructuralPartialEq for Suggestion
Auto Trait Implementations§
impl Freeze for Suggestion
impl RefUnwindSafe for Suggestion
impl Send for Suggestion
impl Sync for Suggestion
impl Unpin for Suggestion
impl UnwindSafe for Suggestion
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