#[non_exhaustive]pub struct ComputerTool {
pub display_height: i64,
pub display_width: i64,
pub environment: ComputerEnvironment,
pub rest: Rest,
}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: i64§display_width: i64§environment: ComputerEnvironment§rest: RestImplementations§
Source§impl ComputerTool
impl ComputerTool
Sourcepub fn builder(
display_height: i64,
display_width: i64,
environment: ComputerEnvironment,
) -> ComputerToolBuilder
pub fn builder( display_height: i64, display_width: i64, environment: ComputerEnvironment, ) -> ComputerToolBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for ComputerTool
impl Clone for ComputerTool
Source§impl Debug for ComputerTool
impl Debug for ComputerTool
Source§impl DeclaredFields for ComputerTool
impl DeclaredFields for ComputerTool
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ComputerTool
impl<'de> Deserialize<'de> for ComputerTool
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 Eq for ComputerTool
Source§impl PartialEq for ComputerTool
impl PartialEq for ComputerTool
Source§impl Serialize for ComputerTool
impl Serialize for ComputerTool
impl StructuralPartialEq for ComputerTool
Auto Trait Implementations§
impl Freeze for ComputerTool
impl RefUnwindSafe for ComputerTool
impl Send for ComputerTool
impl Sync for ComputerTool
impl Unpin for ComputerTool
impl UnsafeUnpin for ComputerTool
impl UnwindSafe for ComputerTool
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