pub struct Image {
pub large: Option<String>,
pub small: Option<String>,
pub bottom: Option<String>,
pub perspective: Option<String>,
pub public: Option<bool>,
}Expand description
Represents a PDSC board image element
Fields§
§large: Option<String>Path to the large top-side board image
small: Option<String>Path to the small top-side board image (lower resolution)
bottom: Option<String>Path to the bottom-side board image
perspective: Option<String>Path to a perspective-view board image
public: Option<bool>Publishing permission; default true
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Image
impl<'de> Deserialize<'de> for Image
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 Image
impl StructuralPartialEq for Image
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnsafeUnpin for Image
impl UnwindSafe for Image
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