pub struct BulkDeviceWithConfigContextRequestRole {
pub name: String,
pub slug: String,
pub description: Option<String>,
}Fields§
§name: String§slug: String§description: Option<String>Implementations§
Source§impl BulkDeviceWithConfigContextRequestRole
impl BulkDeviceWithConfigContextRequestRole
pub fn new(name: String, slug: String) -> BulkDeviceWithConfigContextRequestRole
Trait Implementations§
Source§impl Clone for BulkDeviceWithConfigContextRequestRole
impl Clone for BulkDeviceWithConfigContextRequestRole
Source§fn clone(&self) -> BulkDeviceWithConfigContextRequestRole
fn clone(&self) -> BulkDeviceWithConfigContextRequestRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BulkDeviceWithConfigContextRequestRole
impl Default for BulkDeviceWithConfigContextRequestRole
Source§fn default() -> BulkDeviceWithConfigContextRequestRole
fn default() -> BulkDeviceWithConfigContextRequestRole
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BulkDeviceWithConfigContextRequestRole
impl<'de> Deserialize<'de> for BulkDeviceWithConfigContextRequestRole
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
impl StructuralPartialEq for BulkDeviceWithConfigContextRequestRole
Auto Trait Implementations§
impl Freeze for BulkDeviceWithConfigContextRequestRole
impl RefUnwindSafe for BulkDeviceWithConfigContextRequestRole
impl Send for BulkDeviceWithConfigContextRequestRole
impl Sync for BulkDeviceWithConfigContextRequestRole
impl Unpin for BulkDeviceWithConfigContextRequestRole
impl UnsafeUnpin for BulkDeviceWithConfigContextRequestRole
impl UnwindSafe for BulkDeviceWithConfigContextRequestRole
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