pub struct BoardFootprintChildAttrs {Show 14 fields
pub component: String,
pub component_uid: String,
pub component_uuid: String,
pub footprint: String,
pub footprint_graphic_kind: Option<BoardFootprintChildAttrsFootprintGraphicKind>,
pub footprint_object_index: u32,
pub footprint_primitive: BoardFootprintChildRef,
pub footprint_subop_index: Option<u32>,
pub footprint_text_role: Option<BoardFootprintChildAttrsFootprintTextRole>,
pub fp_text_type: Option<String>,
pub layer_name: Option<String>,
pub layer_role: Option<BoardFootprintLayerRole>,
pub primitive: BoardFootprintChildAttrsPrimitive,
pub property_name: Option<String>,
}Expand description
SVG-enrichment metadata retained on one embedded-footprint child operation.
JSON schema
{
"description": "SVG-enrichment metadata retained on one embedded-footprint child operation.",
"type": "object",
"required": [
"component",
"component_uid",
"component_uuid",
"footprint",
"footprint_object_index",
"footprint_primitive",
"primitive"
],
"properties": {
"component": {
"type": "string"
},
"component_uid": {
"type": "string"
},
"component_uuid": {
"type": "string"
},
"footprint": {
"type": "string"
},
"footprint_graphic_kind": {
"anyOf": [
{
"type": "string",
"const": "text-box-border"
},
{
"type": "string",
"const": "line"
},
{
"type": "string",
"const": "arc"
},
{
"type": "string",
"const": "circle"
},
{
"type": "string",
"const": "rect"
},
{
"type": "string",
"const": "poly"
}
]
},
"footprint_object_index": {
"type": "integer",
"maximum": 4294967295.0,
"minimum": 0.0
},
"footprint_primitive": {
"$ref": "#/$defs/BoardFootprintChildRef"
},
"footprint_subop_index": {
"type": "integer",
"maximum": 4294967295.0,
"minimum": 0.0
},
"footprint_text_role": {
"anyOf": [
{
"type": "string",
"const": "designator"
},
{
"type": "string",
"const": "value"
},
{
"type": "string",
"const": "property"
},
{
"type": "string",
"const": "user"
}
]
},
"fp_text_type": {
"type": "string"
},
"layer_name": {
"type": "string"
},
"layer_role": {
"$ref": "#/$defs/BoardFootprintLayerRole"
},
"primitive": {
"anyOf": [
{
"type": "string",
"const": "footprint-text"
},
{
"type": "string",
"const": "footprint-graphic"
}
]
},
"property_name": {
"type": "string"
}
},
"additionalProperties": false
}Fields§
§component: String§component_uid: String§component_uuid: String§footprint: String§footprint_graphic_kind: Option<BoardFootprintChildAttrsFootprintGraphicKind>§footprint_object_index: u32§footprint_primitive: BoardFootprintChildRef§footprint_subop_index: Option<u32>§footprint_text_role: Option<BoardFootprintChildAttrsFootprintTextRole>§fp_text_type: Option<String>§layer_name: Option<String>§layer_role: Option<BoardFootprintLayerRole>§primitive: BoardFootprintChildAttrsPrimitive§property_name: Option<String>Trait Implementations§
Source§impl Clone for BoardFootprintChildAttrs
impl Clone for BoardFootprintChildAttrs
Source§fn clone(&self) -> BoardFootprintChildAttrs
fn clone(&self) -> BoardFootprintChildAttrs
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 BoardFootprintChildAttrs
impl Debug for BoardFootprintChildAttrs
Source§impl<'de> Deserialize<'de> for BoardFootprintChildAttrs
impl<'de> Deserialize<'de> for BoardFootprintChildAttrs
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 BoardFootprintChildAttrs
impl RefUnwindSafe for BoardFootprintChildAttrs
impl Send for BoardFootprintChildAttrs
impl Sync for BoardFootprintChildAttrs
impl Unpin for BoardFootprintChildAttrs
impl UnsafeUnpin for BoardFootprintChildAttrs
impl UnwindSafe for BoardFootprintChildAttrs
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