pub struct BoardFootprintPadBlockAttrs {Show 22 fields
pub component: Option<String>,
pub component_uid: Option<String>,
pub component_uuid: Option<String>,
pub footprint: Option<String>,
pub hole_diameter_mm: Option<String>,
pub hole_height_mm: Option<String>,
pub hole_kind: Option<BoardFootprintPadBlockAttrsHoleKind>,
pub hole_owner: Option<String>,
pub hole_plating: Option<BoardFootprintPadBlockAttrsHolePlating>,
pub hole_render: Option<String>,
pub hole_width_mm: Option<String>,
pub layer_names: Option<String>,
pub net: Option<String>,
pub net_class: Option<String>,
pub net_classes: Option<String>,
pub net_id: Option<String>,
pub net_index: Option<String>,
pub pad_designator: Option<String>,
pub pad_number: Option<String>,
pub pad_shape: Option<String>,
pub pad_type: Option<String>,
pub primitive: BoardFootprintPadBlockAttrsPrimitive,
}Expand description
Stringified SVG-enrichment attributes on an embedded pad block.
JSON schema
{
"description": "Stringified SVG-enrichment attributes on an embedded pad block.",
"type": "object",
"required": [
"primitive"
],
"properties": {
"component": {
"type": "string"
},
"component_uid": {
"type": "string"
},
"component_uuid": {
"type": "string"
},
"footprint": {
"type": "string"
},
"hole_diameter_mm": {
"type": "string"
},
"hole_height_mm": {
"type": "string"
},
"hole_kind": {
"anyOf": [
{
"type": "string",
"const": "round"
},
{
"type": "string",
"const": "slot"
}
]
},
"hole_owner": {
"type": "string"
},
"hole_plating": {
"anyOf": [
{
"type": "string",
"const": "plated"
},
{
"type": "string",
"const": "non_plated"
}
]
},
"hole_render": {
"type": "string",
"const": "drill"
},
"hole_width_mm": {
"type": "string"
},
"layer_names": {
"type": "string"
},
"net": {
"type": "string"
},
"net_class": {
"type": "string"
},
"net_classes": {
"type": "string"
},
"net_id": {
"type": "string"
},
"net_index": {
"type": "string"
},
"pad_designator": {
"type": "string"
},
"pad_number": {
"type": "string"
},
"pad_shape": {
"type": "string"
},
"pad_type": {
"type": "string"
},
"primitive": {
"anyOf": [
{
"type": "string",
"const": "pad"
},
{
"type": "string",
"const": "pad-hole"
}
]
}
},
"additionalProperties": false
}Fields§
§component: Option<String>§component_uid: Option<String>§component_uuid: Option<String>§footprint: Option<String>§hole_diameter_mm: Option<String>§hole_height_mm: Option<String>§hole_kind: Option<BoardFootprintPadBlockAttrsHoleKind>§hole_owner: Option<String>§hole_plating: Option<BoardFootprintPadBlockAttrsHolePlating>§hole_render: Option<String>§hole_width_mm: Option<String>§layer_names: Option<String>§net: Option<String>§net_class: Option<String>§net_classes: Option<String>§net_id: Option<String>§net_index: Option<String>§pad_designator: Option<String>§pad_number: Option<String>§pad_shape: Option<String>§pad_type: Option<String>§primitive: BoardFootprintPadBlockAttrsPrimitiveTrait Implementations§
Source§impl Clone for BoardFootprintPadBlockAttrs
impl Clone for BoardFootprintPadBlockAttrs
Source§fn clone(&self) -> BoardFootprintPadBlockAttrs
fn clone(&self) -> BoardFootprintPadBlockAttrs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BoardFootprintPadBlockAttrs
impl Debug for BoardFootprintPadBlockAttrs
Source§impl<'de> Deserialize<'de> for BoardFootprintPadBlockAttrs
impl<'de> Deserialize<'de> for BoardFootprintPadBlockAttrs
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
Auto Trait Implementations§
impl Freeze for BoardFootprintPadBlockAttrs
impl RefUnwindSafe for BoardFootprintPadBlockAttrs
impl Send for BoardFootprintPadBlockAttrs
impl Sync for BoardFootprintPadBlockAttrs
impl Unpin for BoardFootprintPadBlockAttrs
impl UnsafeUnpin for BoardFootprintPadBlockAttrs
impl UnwindSafe for BoardFootprintPadBlockAttrs
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