#[repr(C)]pub struct ScreenshotPatch {
pub id: u32,
pub scale: Option<f64>,
}Expand description
Request to capture a screenshot from the chassis.
Fields§
§id: u32§scale: Option<f64>Trait Implementations§
Source§impl Debug for ScreenshotPatch
impl Debug for ScreenshotPatch
Source§impl Default for ScreenshotPatch
impl Default for ScreenshotPatch
Source§fn default() -> ScreenshotPatch
fn default() -> ScreenshotPatch
Returns the “default value” for a type. Read more
Source§impl Serialize for ScreenshotPatch
impl Serialize for ScreenshotPatch
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ScreenshotPatch
impl RefUnwindSafe for ScreenshotPatch
impl Send for ScreenshotPatch
impl Sync for ScreenshotPatch
impl Unpin for ScreenshotPatch
impl UnsafeUnpin for ScreenshotPatch
impl UnwindSafe for ScreenshotPatch
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.