pub struct LabelInput {
pub barcode_type: String,
pub entity_id: String,
pub barcode_format: Option<String>,
pub extra_text: Option<Vec<String>>,
}Fields§
§barcode_type: StringType: sku, location, lot, shipment, receipt
entity_id: StringEntity ID (SKU code, location ID, lot number, etc.)
barcode_format: Option<String>Barcode format: code128, ean13, qr, datamatrix (default: code128)
extra_text: Option<Vec<String>>Extra text lines to print on label
Trait Implementations§
Source§impl Debug for LabelInput
impl Debug for LabelInput
Source§impl<'de> Deserialize<'de> for LabelInput
impl<'de> Deserialize<'de> for LabelInput
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
Source§impl JsonSchema for LabelInput
impl JsonSchema for LabelInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for LabelInput
impl RefUnwindSafe for LabelInput
impl Send for LabelInput
impl Sync for LabelInput
impl Unpin for LabelInput
impl UnsafeUnpin for LabelInput
impl UnwindSafe for LabelInput
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