pub struct StreamFrame {
pub offset: Option<i64>,
pub data: Option<Vec<u8>>,
pub file: Option<String>,
pub file_event: Option<String>,
}
Expand description
StreamFrame is used to frame data of a file when streaming
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§offset: Option<i64>
§data: Option<Vec<u8>>
§file: Option<String>
§file_event: Option<String>
Implementations§
Source§impl StreamFrame
impl StreamFrame
pub fn builder() -> StreamFrameBuilder
Trait Implementations§
Source§impl Clone for StreamFrame
impl Clone for StreamFrame
Source§fn clone(&self) -> StreamFrame
fn clone(&self) -> StreamFrame
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 StreamFrame
impl Debug for StreamFrame
Source§impl<'de> Deserialize<'de> for StreamFrame
impl<'de> Deserialize<'de> for StreamFrame
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 StreamFrame
impl PartialEq for StreamFrame
Source§impl Serialize for StreamFrame
impl Serialize for StreamFrame
impl StructuralPartialEq for StreamFrame
Auto Trait Implementations§
impl Freeze for StreamFrame
impl RefUnwindSafe for StreamFrame
impl Send for StreamFrame
impl Sync for StreamFrame
impl Unpin for StreamFrame
impl UnwindSafe for StreamFrame
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