pub struct ShopifySyncInput {
pub direction: String,
pub sku: Option<String>,
pub location_id: Option<String>,
}Fields§
§direction: StringDirection: pull (Shopify→local) or push (local→Shopify)
sku: Option<String>SKU filter (optional)
location_id: Option<String>Shopify location ID (required for push)
Trait Implementations§
Source§impl Debug for ShopifySyncInput
impl Debug for ShopifySyncInput
Source§impl<'de> Deserialize<'de> for ShopifySyncInput
impl<'de> Deserialize<'de> for ShopifySyncInput
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 ShopifySyncInput
impl JsonSchema for ShopifySyncInput
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 ShopifySyncInput
impl RefUnwindSafe for ShopifySyncInput
impl Send for ShopifySyncInput
impl Sync for ShopifySyncInput
impl Unpin for ShopifySyncInput
impl UnsafeUnpin for ShopifySyncInput
impl UnwindSafe for ShopifySyncInput
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