#[non_exhaustive]pub struct ComputerTool20241022 {
pub display_height_px: u64,
pub display_width_px: u64,
pub name: ComputerToolName,
pub type_: ComputerTool20241022Type,
pub display_number: Option<u64>,
pub common: ToolCommon,
}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.display_height_px: u64§display_width_px: u64§name: ComputerToolName§type_: ComputerTool20241022Type§display_number: Option<u64>§common: ToolCommonImplementations§
Trait Implementations§
Source§impl Clone for ComputerTool20241022
impl Clone for ComputerTool20241022
Source§fn clone(&self) -> ComputerTool20241022
fn clone(&self) -> ComputerTool20241022
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 Debug for ComputerTool20241022
impl Debug for ComputerTool20241022
Source§impl<'de> Deserialize<'de> for ComputerTool20241022
impl<'de> Deserialize<'de> for ComputerTool20241022
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 ComputerTool20241022
impl PartialEq for ComputerTool20241022
Source§impl Serialize for ComputerTool20241022
impl Serialize for ComputerTool20241022
impl StructuralPartialEq for ComputerTool20241022
Auto Trait Implementations§
impl Freeze for ComputerTool20241022
impl RefUnwindSafe for ComputerTool20241022
impl Send for ComputerTool20241022
impl Sync for ComputerTool20241022
impl Unpin for ComputerTool20241022
impl UnsafeUnpin for ComputerTool20241022
impl UnwindSafe for ComputerTool20241022
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