pub struct NotebookDescriptor {
pub guid: Option<Guid>,
pub notebook_display_name: Option<String>,
pub contact_name: Option<String>,
pub has_shared_notebook: Option<bool>,
pub joined_user_count: Option<i32>,
}Expand description
A structure that describes a notebook or a user’s relationship with a notebook. NotebookDescriptor is expected to remain a lighter-weight structure when compared to Notebook.
- guid
- The unique identifier of the notebook.
- notebookDisplayName
- A sequence of characters representing the name of the notebook.
- contactName
- The User.name value of the notebook's "contact".
- hasSharedNotebook
- Whether a SharedNotebook record exists between the calling user and this notebook.
- joinedUserCount
- The number of users who have joined this notebook.
Fields§
§guid: Option<Guid>§notebook_display_name: Option<String>§contact_name: Option<String>§joined_user_count: Option<i32>Implementations§
Trait Implementations§
Source§impl Clone for NotebookDescriptor
impl Clone for NotebookDescriptor
Source§fn clone(&self) -> NotebookDescriptor
fn clone(&self) -> NotebookDescriptor
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 Debug for NotebookDescriptor
impl Debug for NotebookDescriptor
Source§impl Default for NotebookDescriptor
impl Default for NotebookDescriptor
Source§fn default() -> NotebookDescriptor
fn default() -> NotebookDescriptor
Returns the “default value” for a type. Read more
impl Eq for NotebookDescriptor
Source§impl Hash for NotebookDescriptor
impl Hash for NotebookDescriptor
Source§impl Ord for NotebookDescriptor
impl Ord for NotebookDescriptor
Source§fn cmp(&self, other: &NotebookDescriptor) -> Ordering
fn cmp(&self, other: &NotebookDescriptor) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NotebookDescriptor
impl PartialEq for NotebookDescriptor
Source§impl PartialOrd for NotebookDescriptor
impl PartialOrd for NotebookDescriptor
impl StructuralPartialEq for NotebookDescriptor
Source§impl TSerializable for NotebookDescriptor
impl TSerializable for NotebookDescriptor
fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<NotebookDescriptor>
fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> Result<()>
Auto Trait Implementations§
impl Freeze for NotebookDescriptor
impl RefUnwindSafe for NotebookDescriptor
impl Send for NotebookDescriptor
impl Sync for NotebookDescriptor
impl Unpin for NotebookDescriptor
impl UnsafeUnpin for NotebookDescriptor
impl UnwindSafe for NotebookDescriptor
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