pub struct CreateNotebookRequest { /* private fields */ }Implementations§
Source§impl CreateNotebookRequest
impl CreateNotebookRequest
Sourcepub fn builder() -> Builder<TitleStage>
pub fn builder() -> Builder<TitleStage>
Returns a new builder.
Source§impl CreateNotebookRequest
impl CreateNotebookRequest
pub fn title(&self) -> &str
pub fn description(&self) -> &str
Sourcepub fn notebook_type(&self) -> Option<&NotebookType>
pub fn notebook_type(&self) -> Option<&NotebookType>
Optional for backcompatibility. Default is a normal workbook.
pub fn is_draft(&self) -> bool
pub fn state_as_json(&self) -> &str
pub fn charts(&self) -> Option<&[ChartWithOverlays]>
charts are now stored in contentV2
Sourcepub fn data_scope(&self) -> Option<&NotebookDataScope>
pub fn data_scope(&self) -> Option<&NotebookDataScope>
Optional for back-compatibility.
pub fn layout(&self) -> &WorkbookLayout
pub fn content(&self) -> Option<&WorkbookContent>
use contentV2 instead
Sourcepub fn content_v2(&self) -> Option<&UnifiedWorkbookContent>
pub fn content_v2(&self) -> Option<&UnifiedWorkbookContent>
Optional for backcompatibility
Sourcepub fn event_refs(&self) -> &BTreeSet<EventReference>
pub fn event_refs(&self) -> &BTreeSet<EventReference>
Field to pin events to a workbook on creation.
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>>
CheckAlerts are no longer supported and will be removed in the future. Use eventRefs to pin events to workbooks instead.
Field to pin check alerts to a workbook on creation. Any specified CheckAlertReference will be added to the workbook along with it’s corresponding EventReference.
Sourcepub fn workspace(&self) -> Option<&WorkspaceRid>
pub fn workspace(&self) -> Option<&WorkspaceRid>
The workspace in which to create the workbook. If not provided, the workbook will be created in the default workspace for the user’s organization, if the default workspace for the organization is configured.
Sourcepub fn preview_image(&self) -> Option<&ThemeAwareImage>
pub fn preview_image(&self) -> Option<&ThemeAwareImage>
Theme-aware preview image for the workbook. Falls back to a default illustration if not provided.
Trait Implementations§
Source§impl Clone for CreateNotebookRequest
impl Clone for CreateNotebookRequest
Source§fn clone(&self) -> CreateNotebookRequest
fn clone(&self) -> CreateNotebookRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CreateNotebookRequest
impl Debug for CreateNotebookRequest
Source§impl<'de> Deserialize<'de> for CreateNotebookRequest
impl<'de> Deserialize<'de> for CreateNotebookRequest
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 From<CreateNotebookRequest> for Builder<Complete>
impl From<CreateNotebookRequest> for Builder<Complete>
Source§fn from(v: CreateNotebookRequest) -> Self
fn from(v: CreateNotebookRequest) -> Self
Source§impl Hash for CreateNotebookRequest
impl Hash for CreateNotebookRequest
Source§impl Ord for CreateNotebookRequest
impl Ord for CreateNotebookRequest
Source§impl PartialEq for CreateNotebookRequest
impl PartialEq for CreateNotebookRequest
Source§impl PartialOrd for CreateNotebookRequest
impl PartialOrd for CreateNotebookRequest
Source§impl Serialize for CreateNotebookRequest
impl Serialize for CreateNotebookRequest
impl Eq for CreateNotebookRequest
Auto Trait Implementations§
impl Freeze for CreateNotebookRequest
impl RefUnwindSafe for CreateNotebookRequest
impl Send for CreateNotebookRequest
impl Sync for CreateNotebookRequest
impl Unpin for CreateNotebookRequest
impl UnsafeUnpin for CreateNotebookRequest
impl UnwindSafe for CreateNotebookRequest
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<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
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>
T in a tonic::Request