pub struct ResizeResponse {
pub success: bool,
pub width: u32,
pub height: u32,
pub error: Option<String>,
}Expand description
Response from resize operation.
Fields§
§success: boolWhether the resize command was sent successfully.
width: u32The requested width.
height: u32The requested height.
error: Option<String>Error message if the resize failed.
Trait Implementations§
Source§impl Debug for ResizeResponse
impl Debug for ResizeResponse
Auto Trait Implementations§
impl Freeze for ResizeResponse
impl RefUnwindSafe for ResizeResponse
impl Send for ResizeResponse
impl Sync for ResizeResponse
impl Unpin for ResizeResponse
impl UnwindSafe for ResizeResponse
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