pub struct Barcode {
pub alternate_text: Option<String>,
pub kind: Option<String>,
pub render_encoding: Option<String>,
pub show_code_text: Option<LocalizedString>,
pub type_: Option<String>,
pub value: Option<String>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§alternate_text: Option<String>An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned.
kind: Option<String>Identifies what kind of resource this is. Value: the fixed string "walletobjects#barcode".
render_encoding: Option<String>The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google.
show_code_text: Option<LocalizedString>Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google.
type_: Option<String>The type of barcode.
value: Option<String>The value encoded in the barcode.