pub struct DeviceWithConfigContextRequestSite {
pub name: String,
pub slug: String,
pub description: Option<String>,
}Fields§
§name: StringFull name of the site
slug: String§description: Option<String>Implementations§
Source§impl DeviceWithConfigContextRequestSite
impl DeviceWithConfigContextRequestSite
pub fn new(name: String, slug: String) -> DeviceWithConfigContextRequestSite
Trait Implementations§
Source§impl Clone for DeviceWithConfigContextRequestSite
impl Clone for DeviceWithConfigContextRequestSite
Source§fn clone(&self) -> DeviceWithConfigContextRequestSite
fn clone(&self) -> DeviceWithConfigContextRequestSite
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 Default for DeviceWithConfigContextRequestSite
impl Default for DeviceWithConfigContextRequestSite
Source§fn default() -> DeviceWithConfigContextRequestSite
fn default() -> DeviceWithConfigContextRequestSite
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceWithConfigContextRequestSite
impl<'de> Deserialize<'de> for DeviceWithConfigContextRequestSite
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 DeviceWithConfigContextRequestSite
impl PartialEq for DeviceWithConfigContextRequestSite
Source§fn eq(&self, other: &DeviceWithConfigContextRequestSite) -> bool
fn eq(&self, other: &DeviceWithConfigContextRequestSite) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceWithConfigContextRequestSite
Auto Trait Implementations§
impl Freeze for DeviceWithConfigContextRequestSite
impl RefUnwindSafe for DeviceWithConfigContextRequestSite
impl Send for DeviceWithConfigContextRequestSite
impl Sync for DeviceWithConfigContextRequestSite
impl Unpin for DeviceWithConfigContextRequestSite
impl UnwindSafe for DeviceWithConfigContextRequestSite
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