Struct fastly_api::models::http_stream_format::HttpStreamFormat
source · 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