pub struct ScreenshotEvent {
pub filename: String,
pub width: u16,
pub height: u16,
pub system: Option<String>,
pub body: Option<String>,
pub latitude: Option<f32>,
pub longitude: Option<f32>,
pub altitude: Option<f32>,
pub heading: Option<f32>,
}
Fields§
§filename: String
§width: u16
§height: u16
§system: Option<String>
§body: Option<String>
§latitude: Option<f32>
§longitude: Option<f32>
§altitude: Option<f32>
§heading: Option<f32>
Trait Implementations§
Source§impl Clone for ScreenshotEvent
impl Clone for ScreenshotEvent
Source§fn clone(&self) -> ScreenshotEvent
fn clone(&self) -> ScreenshotEvent
Returns a copy 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 Debug for ScreenshotEvent
impl Debug for ScreenshotEvent
Source§impl<'de> Deserialize<'de> for ScreenshotEvent
impl<'de> Deserialize<'de> for ScreenshotEvent
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 ScreenshotEvent
impl PartialEq for ScreenshotEvent
Source§impl Serialize for ScreenshotEvent
impl Serialize for ScreenshotEvent
impl StructuralPartialEq for ScreenshotEvent
Auto Trait Implementations§
impl Freeze for ScreenshotEvent
impl RefUnwindSafe for ScreenshotEvent
impl Send for ScreenshotEvent
impl Sync for ScreenshotEvent
impl Unpin for ScreenshotEvent
impl UnwindSafe for ScreenshotEvent
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