Struct fiberplane_models::realtime::DebugResponseMessage
source · #[non_exhaustive]pub struct DebugResponseMessage {
pub sid: String,
pub subscribed_notebooks: Vec<String>,
pub op_id: Option<String>,
}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.sid: StringSession ID.
subscribed_notebooks: Vec<String>Notebooks that the user is subscribed to.
op_id: Option<String>Operation ID.
Only messages with an operation ID will receive an Ack from the
server.
Implementations§
source§impl DebugResponseMessage
impl DebugResponseMessage
sourcepub fn builder() -> DebugResponseMessageBuilder<((), (), ())>
pub fn builder() -> DebugResponseMessageBuilder<((), (), ())>
Create a builder for building DebugResponseMessage.
On the builder, call .sid(...), .subscribed_notebooks(...)(optional), .op_id(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of DebugResponseMessage.
Trait Implementations§
source§impl Clone for DebugResponseMessage
impl Clone for DebugResponseMessage
source§fn clone(&self) -> DebugResponseMessage
fn clone(&self) -> DebugResponseMessage
Returns a copy 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 DebugResponseMessage
impl Debug for DebugResponseMessage
source§impl<'de> Deserialize<'de> for DebugResponseMessage
impl<'de> Deserialize<'de> for DebugResponseMessage
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 PartialEq for DebugResponseMessage
impl PartialEq for DebugResponseMessage
source§fn eq(&self, other: &DebugResponseMessage) -> bool
fn eq(&self, other: &DebugResponseMessage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DebugResponseMessage
impl Serialize for DebugResponseMessage
impl Eq for DebugResponseMessage
impl StructuralPartialEq for DebugResponseMessage
Auto Trait Implementations§
impl Freeze for DebugResponseMessage
impl RefUnwindSafe for DebugResponseMessage
impl Send for DebugResponseMessage
impl Sync for DebugResponseMessage
impl Unpin for DebugResponseMessage
impl UnwindSafe for DebugResponseMessage
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