Struct google_content2::api::LoyaltyPoints [−][src]
pub struct LoyaltyPoints {
pub name: Option<String>,
pub points_value: Option<String>,
pub ratio: Option<f64>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
name: Option<String>Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters.
points_value: Option<String>The retailer’s loyalty points in absolute value.
ratio: Option<f64>The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0.
Trait Implementations
Returns the “default value” for a type. Read more
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 RefUnwindSafe for LoyaltyPoints
impl Send for LoyaltyPoints
impl Sync for LoyaltyPoints
impl Unpin for LoyaltyPoints
impl UnwindSafe for LoyaltyPoints
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more