pub struct Stream {
pub name: Option<String>,
pub connector_name: Option<String>,
pub url: Option<String>,
pub track: Option<String>,
pub status_callback: Option<String>,
pub status_callback_method: Option<String>,
pub parameters: Vec<Parameter>,
}Fields§
§name: Option<String>§connector_name: Option<String>§url: Option<String>§track: Option<String>§status_callback: Option<String>§status_callback_method: Option<String>§parameters: Vec<Parameter>Implementations§
Source§impl Stream
impl Stream
pub fn new() -> Self
pub fn name(self, name: impl Into<String>) -> Self
pub fn connector_name(self, connector_name: impl Into<String>) -> Self
pub fn url(self, url: impl Into<String>) -> Self
pub fn track(self, track: impl Into<String>) -> Self
pub fn status_callback(self, callback: impl Into<String>) -> Self
pub fn add_parameter(self, parameter: Parameter) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnwindSafe for Stream
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