pub struct UpdateNotebookRequest { /* private fields */ }
Implementations§
Source§impl UpdateNotebookRequest
impl UpdateNotebookRequest
Sourcepub fn builder() -> Builder<StateAsJsonStage>
pub fn builder() -> Builder<StateAsJsonStage>
Returns a new builder.
Source§impl UpdateNotebookRequest
impl UpdateNotebookRequest
Sourcepub fn new(state_as_json: impl Into<String>, layout: WorkbookLayout) -> Self
pub fn new(state_as_json: impl Into<String>, layout: WorkbookLayout) -> Self
Constructs a new instance of the type.
pub fn state_as_json(&self) -> &str
pub fn charts(&self) -> Option<&[ChartWithOverlays]>
👎Deprecated: charts are now stored in contentV2
pub fn layout(&self) -> &WorkbookLayout
pub fn content(&self) -> Option<&WorkbookContent>
👎Deprecated: use contentV2 instead
Sourcepub fn content_v2(&self) -> Option<&UnifiedWorkbookContent>
pub fn content_v2(&self) -> Option<&UnifiedWorkbookContent>
Optional for backcompatibility
Sourcepub fn latest_snapshot_rid(&self) -> Option<&SnapshotRid>
pub fn latest_snapshot_rid(&self) -> Option<&SnapshotRid>
If provided, will only update the notebook if the latest snapshot matches the provided snapshot rid, and throws SaveNotebookConflict otherwise.
Sourcepub fn event_refs(&self) -> &BTreeSet<EventReference>
pub fn event_refs(&self) -> &BTreeSet<EventReference>
Replace existing pinned events on the workbook.
Sourcepub fn check_alert_refs(&self) -> Option<&BTreeSet<CheckAlertReference>>
👎Deprecated: CheckAlerts are no longer supported and will be removed in the future.
Use eventRefs to pin events to workbooks instead.
pub fn check_alert_refs(&self) -> Option<&BTreeSet<CheckAlertReference>>
Field to pin check alerts to a workbook on creation. If not provided, will keep the set of check alerts on the workbook unchanged. Providing an empty set will remove all check alerts from the workbook. Any specified CheckAlertReference will be added to the workbook along with it’s corresponding EventReference.
Trait Implementations§
Source§impl Clone for UpdateNotebookRequest
impl Clone for UpdateNotebookRequest
Source§fn clone(&self) -> UpdateNotebookRequest
fn clone(&self) -> UpdateNotebookRequest
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 UpdateNotebookRequest
impl Debug for UpdateNotebookRequest
Source§impl<'de> Deserialize<'de> for UpdateNotebookRequest
impl<'de> Deserialize<'de> for UpdateNotebookRequest
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 From<UpdateNotebookRequest> for Builder<Complete>
impl From<UpdateNotebookRequest> for Builder<Complete>
Source§fn from(v: UpdateNotebookRequest) -> Self
fn from(v: UpdateNotebookRequest) -> Self
Converts to this type from the input type.
Source§impl Hash for UpdateNotebookRequest
impl Hash for UpdateNotebookRequest
Source§impl Ord for UpdateNotebookRequest
impl Ord for UpdateNotebookRequest
Source§impl PartialEq for UpdateNotebookRequest
impl PartialEq for UpdateNotebookRequest
Source§impl PartialOrd for UpdateNotebookRequest
impl PartialOrd for UpdateNotebookRequest
Source§impl Serialize for UpdateNotebookRequest
impl Serialize for UpdateNotebookRequest
impl Eq for UpdateNotebookRequest
Auto Trait Implementations§
impl Freeze for UpdateNotebookRequest
impl RefUnwindSafe for UpdateNotebookRequest
impl Send for UpdateNotebookRequest
impl Sync for UpdateNotebookRequest
impl Unpin for UpdateNotebookRequest
impl UnwindSafe for UpdateNotebookRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request