Struct fastly_api::models::http_stream_format::HttpStreamFormat   
source · pub struct HttpStreamFormat {
    pub content: Option<String>,
    pub content_bin: Option<String>,
}Expand description
HttpStreamFormat : Payload format for delivering to subscribers of HTTP streaming response bodies (stream hold mode). One of content or content-bin must be specified.
Fields§
§content: Option<String>A fragment of body data as a string.
content_bin: Option<String>A fragment of body data as a base64-encoded binary blob.
Implementations§
source§impl HttpStreamFormat
 
impl HttpStreamFormat
sourcepub fn new() -> HttpStreamFormat
 
pub fn new() -> HttpStreamFormat
Payload format for delivering to subscribers of HTTP streaming response bodies (stream hold mode). One of content or content-bin must be specified.
Trait Implementations§
source§impl Clone for HttpStreamFormat
 
impl Clone for HttpStreamFormat
source§fn clone(&self) -> HttpStreamFormat
 
fn clone(&self) -> HttpStreamFormat
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 HttpStreamFormat
 
impl Debug for HttpStreamFormat
source§impl Default for HttpStreamFormat
 
impl Default for HttpStreamFormat
source§fn default() -> HttpStreamFormat
 
fn default() -> HttpStreamFormat
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HttpStreamFormat
 
impl<'de> Deserialize<'de> for HttpStreamFormat
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 HttpStreamFormat
 
impl PartialEq for HttpStreamFormat
source§fn eq(&self, other: &HttpStreamFormat) -> bool
 
fn eq(&self, other: &HttpStreamFormat) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for HttpStreamFormat
 
impl Serialize for HttpStreamFormat
impl StructuralPartialEq for HttpStreamFormat
Auto Trait Implementations§
impl Freeze for HttpStreamFormat
impl RefUnwindSafe for HttpStreamFormat
impl Send for HttpStreamFormat
impl Sync for HttpStreamFormat
impl Unpin for HttpStreamFormat
impl UnwindSafe for HttpStreamFormat
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)