#[non_exhaustive]pub struct UpdateNotebookTimeRangeOperation {
pub old_time_range: TimeRange,
pub time_range: TimeRange,
}Expand description
Updates the notebook time range.
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.old_time_range: TimeRange§time_range: TimeRangeImplementations§
Source§impl UpdateNotebookTimeRangeOperation
impl UpdateNotebookTimeRangeOperation
Sourcepub fn builder() -> UpdateNotebookTimeRangeOperationBuilder<((), ())>
pub fn builder() -> UpdateNotebookTimeRangeOperationBuilder<((), ())>
Create a builder for building UpdateNotebookTimeRangeOperation.
On the builder, call .old_time_range(...), .time_range(...) to set the values of the fields.
Finally, call .build() to create the instance of UpdateNotebookTimeRangeOperation.
Trait Implementations§
Source§impl Clone for UpdateNotebookTimeRangeOperation
impl Clone for UpdateNotebookTimeRangeOperation
Source§fn clone(&self) -> UpdateNotebookTimeRangeOperation
fn clone(&self) -> UpdateNotebookTimeRangeOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for UpdateNotebookTimeRangeOperation
impl<'de> Deserialize<'de> for UpdateNotebookTimeRangeOperation
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
impl Eq for UpdateNotebookTimeRangeOperation
impl StructuralPartialEq for UpdateNotebookTimeRangeOperation
Auto Trait Implementations§
impl Freeze for UpdateNotebookTimeRangeOperation
impl RefUnwindSafe for UpdateNotebookTimeRangeOperation
impl Send for UpdateNotebookTimeRangeOperation
impl Sync for UpdateNotebookTimeRangeOperation
impl Unpin for UpdateNotebookTimeRangeOperation
impl UnsafeUnpin for UpdateNotebookTimeRangeOperation
impl UnwindSafe for UpdateNotebookTimeRangeOperation
Blanket Implementations§
impl<T> BindgenSerializable for T
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