#[non_exhaustive]pub struct UpdateProgramTransition {
pub scheduled_start_time_millis: i64,
pub duration_millis: i64,
}
Expand description
Program transition configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.scheduled_start_time_millis: i64
The date and time that the program is scheduled to start, in epoch milliseconds.
duration_millis: i64
The duration of the live program in seconds.
Implementations§
source§impl UpdateProgramTransition
impl UpdateProgramTransition
sourcepub fn scheduled_start_time_millis(&self) -> i64
pub fn scheduled_start_time_millis(&self) -> i64
The date and time that the program is scheduled to start, in epoch milliseconds.
sourcepub fn duration_millis(&self) -> i64
pub fn duration_millis(&self) -> i64
The duration of the live program in seconds.
source§impl UpdateProgramTransition
impl UpdateProgramTransition
sourcepub fn builder() -> UpdateProgramTransitionBuilder
pub fn builder() -> UpdateProgramTransitionBuilder
Creates a new builder-style object to manufacture UpdateProgramTransition
.
Trait Implementations§
source§impl Clone for UpdateProgramTransition
impl Clone for UpdateProgramTransition
source§fn clone(&self) -> UpdateProgramTransition
fn clone(&self) -> UpdateProgramTransition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UpdateProgramTransition
impl Debug for UpdateProgramTransition
source§impl PartialEq<UpdateProgramTransition> for UpdateProgramTransition
impl PartialEq<UpdateProgramTransition> for UpdateProgramTransition
source§fn eq(&self, other: &UpdateProgramTransition) -> bool
fn eq(&self, other: &UpdateProgramTransition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateProgramTransition
Auto Trait Implementations§
impl RefUnwindSafe for UpdateProgramTransition
impl Send for UpdateProgramTransition
impl Sync for UpdateProgramTransition
impl Unpin for UpdateProgramTransition
impl UnwindSafe for UpdateProgramTransition
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