pub struct PausedStreamFrame {
pub correlation_id: String,
pub stream_id: String,
pub sequence_number: i64,
pub direction: String,
pub phase: String,
pub body: String,
pub request_method: Option<String>,
pub request_path: Option<String>,
pub breakpoint_id: Option<String>,
}Expand description
A paused stream frame pushed by the server over the callback WebSocket.
Fields§
§correlation_id: String§stream_id: String§sequence_number: i64§direction: String§phase: String§body: String§request_method: Option<String>§request_path: Option<String>§breakpoint_id: Option<String>Implementations§
Source§impl PausedStreamFrame
impl PausedStreamFrame
Sourcepub fn body_bytes(&self) -> Result<Vec<u8>, DecodeError>
pub fn body_bytes(&self) -> Result<Vec<u8>, DecodeError>
Decode the Base64-encoded body to bytes.
Trait Implementations§
Source§impl Clone for PausedStreamFrame
impl Clone for PausedStreamFrame
Source§fn clone(&self) -> PausedStreamFrame
fn clone(&self) -> PausedStreamFrame
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 PausedStreamFrame
impl Debug for PausedStreamFrame
Source§impl<'de> Deserialize<'de> for PausedStreamFrame
impl<'de> Deserialize<'de> for PausedStreamFrame
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
Auto Trait Implementations§
impl Freeze for PausedStreamFrame
impl RefUnwindSafe for PausedStreamFrame
impl Send for PausedStreamFrame
impl Sync for PausedStreamFrame
impl Unpin for PausedStreamFrame
impl UnsafeUnpin for PausedStreamFrame
impl UnwindSafe for PausedStreamFrame
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