pub struct ModuleViewConstraints {
pub display_interval: Option<TimeInterval>,
}Expand description
Constraints that all must be met for the module to be shown.
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_interval: Option<TimeInterval>The period of time that the module will be displayed to users. Can define both a startTime and endTime. The module is displayed immediately after insertion unless a startTime is set. The module is displayed indefinitely if endTime is not set.
Trait Implementations§
Source§impl Clone for ModuleViewConstraints
impl Clone for ModuleViewConstraints
Source§fn clone(&self) -> ModuleViewConstraints
fn clone(&self) -> ModuleViewConstraints
Returns a duplicate 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 ModuleViewConstraints
impl Debug for ModuleViewConstraints
Source§impl Default for ModuleViewConstraints
impl Default for ModuleViewConstraints
Source§fn default() -> ModuleViewConstraints
fn default() -> ModuleViewConstraints
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModuleViewConstraints
impl<'de> Deserialize<'de> for ModuleViewConstraints
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ModuleViewConstraints
impl Serialize for ModuleViewConstraints
impl Part for ModuleViewConstraints
Auto Trait Implementations§
impl Freeze for ModuleViewConstraints
impl RefUnwindSafe for ModuleViewConstraints
impl Send for ModuleViewConstraints
impl Sync for ModuleViewConstraints
impl Unpin for ModuleViewConstraints
impl UnwindSafe for ModuleViewConstraints
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