#[repr(C)]pub struct ImagePatch {
pub id: u32,
pub path: Option<String>,
}
Fields§
§id: u32
§path: Option<String>
Trait Implementations§
Source§impl Debug for ImagePatch
impl Debug for ImagePatch
Source§impl Default for ImagePatch
impl Default for ImagePatch
Source§fn default() -> ImagePatch
fn default() -> ImagePatch
Returns the “default value” for a type. Read more
Source§impl Serialize for ImagePatch
impl Serialize for ImagePatch
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 ImagePatch
impl RefUnwindSafe for ImagePatch
impl Send for ImagePatch
impl Sync for ImagePatch
impl Unpin for ImagePatch
impl UnwindSafe for ImagePatch
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
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.