pub struct RotatingBarcodeValues {
pub period_millis: Option<i64>,
pub start_date_time: Option<String>,
pub values: Option<Vec<String>>,
}
Expand description
A payload containing many barcode values and start date/time.
This type is not used in any activity, and only used as part of another schema.
Fields§
§period_millis: Option<i64>
Required. The amount of time each barcode is valid for.
start_date_time: Option<String>
Required. The date/time the first barcode is valid from. Barcodes will be rotated through using period_millis defined on the object’s RotatingBarcodeValueInfo. This is an ISO 8601 extended format date/time, with an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: 1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. 1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year.
values: Option<Vec<String>>
Required. The values to encode in the barcode. At least one value is required.
Trait Implementations§
Source§impl Clone for RotatingBarcodeValues
impl Clone for RotatingBarcodeValues
Source§fn clone(&self) -> RotatingBarcodeValues
fn clone(&self) -> RotatingBarcodeValues
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RotatingBarcodeValues
impl Debug for RotatingBarcodeValues
Source§impl Default for RotatingBarcodeValues
impl Default for RotatingBarcodeValues
Source§fn default() -> RotatingBarcodeValues
fn default() -> RotatingBarcodeValues
Source§impl<'de> Deserialize<'de> for RotatingBarcodeValues
impl<'de> Deserialize<'de> for RotatingBarcodeValues
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>,
Source§impl Serialize for RotatingBarcodeValues
impl Serialize for RotatingBarcodeValues
impl Part for RotatingBarcodeValues
Auto Trait Implementations§
impl Freeze for RotatingBarcodeValues
impl RefUnwindSafe for RotatingBarcodeValues
impl Send for RotatingBarcodeValues
impl Sync for RotatingBarcodeValues
impl Unpin for RotatingBarcodeValues
impl UnwindSafe for RotatingBarcodeValues
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more