Struct amazon_sp_merchant_fulfillment::models::seller_input_definition::SellerInputDefinition
source · [−]pub struct SellerInputDefinition {
pub is_required: bool,
pub data_type: String,
pub constraints: Vec<Constraint>,
pub input_display_text: String,
pub input_target: Option<InputTargetType>,
pub stored_value: Box<AdditionalSellerInput>,
pub restricted_set_values: Option<Vec<String>>,
}Expand description
SellerInputDefinition : Specifies characteristics that apply to a seller input.
Fields
is_required: boolWhen true, the additional input field is required.
data_type: StringThe data type of the additional input field.
constraints: Vec<Constraint>List of constraints.
input_display_text: StringThe display text for the additional input field.
input_target: Option<InputTargetType>stored_value: Box<AdditionalSellerInput>restricted_set_values: Option<Vec<String>>The set of fixed values in an additional seller input.
Implementations
sourceimpl SellerInputDefinition
impl SellerInputDefinition
sourcepub fn new(
is_required: bool,
data_type: String,
constraints: Vec<Constraint>,
input_display_text: String,
stored_value: AdditionalSellerInput
) -> SellerInputDefinition
pub fn new(
is_required: bool,
data_type: String,
constraints: Vec<Constraint>,
input_display_text: String,
stored_value: AdditionalSellerInput
) -> SellerInputDefinition
Specifies characteristics that apply to a seller input.
Trait Implementations
sourceimpl Clone for SellerInputDefinition
impl Clone for SellerInputDefinition
sourcefn clone(&self) -> SellerInputDefinition
fn clone(&self) -> SellerInputDefinition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SellerInputDefinition
impl Debug for SellerInputDefinition
sourceimpl Default for SellerInputDefinition
impl Default for SellerInputDefinition
sourcefn default() -> SellerInputDefinition
fn default() -> SellerInputDefinition
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SellerInputDefinition
impl<'de> Deserialize<'de> for SellerInputDefinition
sourcefn 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
sourceimpl PartialEq<SellerInputDefinition> for SellerInputDefinition
impl PartialEq<SellerInputDefinition> for SellerInputDefinition
sourcefn eq(&self, other: &SellerInputDefinition) -> bool
fn eq(&self, other: &SellerInputDefinition) -> bool
sourceimpl Serialize for SellerInputDefinition
impl Serialize for SellerInputDefinition
impl StructuralPartialEq for SellerInputDefinition
Auto Trait Implementations
impl RefUnwindSafe for SellerInputDefinition
impl Send for SellerInputDefinition
impl Sync for SellerInputDefinition
impl Unpin for SellerInputDefinition
impl UnwindSafe for SellerInputDefinition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more