pub struct StreamingEndpointSection {
pub operation_id: String,
pub path: String,
pub http_method: Option<String>,
pub stream_parameter: String,
pub query_parameters: Vec<QueryParameterSection>,
pub event_union_type: String,
pub content_type: Option<String>,
pub event_flow: Option<EventFlowSection>,
}Fields§
§operation_id: String§path: String§http_method: Option<String>HTTP method: “GET” or “POST” (default: POST)
stream_parameter: StringParameter name that controls streaming (only for POST requests)
query_parameters: Vec<QueryParameterSection>Query parameters for GET requests
event_union_type: String§content_type: Option<String>§event_flow: Option<EventFlowSection>Trait Implementations§
Source§impl Clone for StreamingEndpointSection
impl Clone for StreamingEndpointSection
Source§fn clone(&self) -> StreamingEndpointSection
fn clone(&self) -> StreamingEndpointSection
Returns a duplicate 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 StreamingEndpointSection
impl Debug for StreamingEndpointSection
Source§impl<'de> Deserialize<'de> for StreamingEndpointSection
impl<'de> Deserialize<'de> for StreamingEndpointSection
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 Serialize for StreamingEndpointSection
impl Serialize for StreamingEndpointSection
Source§impl Validate for StreamingEndpointSection
impl Validate for StreamingEndpointSection
Source§impl<'v_a> ValidateArgs<'v_a> for StreamingEndpointSection
impl<'v_a> ValidateArgs<'v_a> for StreamingEndpointSection
Auto Trait Implementations§
impl Freeze for StreamingEndpointSection
impl RefUnwindSafe for StreamingEndpointSection
impl Send for StreamingEndpointSection
impl Sync for StreamingEndpointSection
impl Unpin for StreamingEndpointSection
impl UnwindSafe for StreamingEndpointSection
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