pub struct Notebook { /* private fields */ }
Implementations§
Source§impl Notebook
impl Notebook
pub fn rid(&self) -> &NotebookRid
pub fn snapshot_rid(&self) -> &SnapshotRid
pub fn snapshot_created_at(&self) -> DateTime<Utc>
pub fn metadata(&self) -> &NotebookMetadata
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
pub fn content_v2(&self) -> &UnifiedWorkbookContent
pub fn event_refs(&self) -> &BTreeSet<EventReference>
pub 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.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Notebook
impl<'de> Deserialize<'de> for Notebook
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 Ord for Notebook
impl Ord for Notebook
Source§impl PartialOrd for Notebook
impl PartialOrd for Notebook
impl Eq for Notebook
Auto Trait Implementations§
impl Freeze for Notebook
impl RefUnwindSafe for Notebook
impl Send for Notebook
impl Sync for Notebook
impl Unpin for Notebook
impl UnwindSafe for Notebook
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