pub struct SinkHttpConfig {
pub headers: Option<HashMap<String, String>>,
pub key: Option<String>,
pub url: String,
}
Fields§
§headers: Option<HashMap<String, String>>
§key: Option<String>
§url: String
Implementations§
Source§impl SinkHttpConfig
impl SinkHttpConfig
pub fn new(url: String) -> SinkHttpConfig
Trait Implementations§
Source§impl Clone for SinkHttpConfig
impl Clone for SinkHttpConfig
Source§fn clone(&self) -> SinkHttpConfig
fn clone(&self) -> SinkHttpConfig
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 SinkHttpConfig
impl Debug for SinkHttpConfig
Source§impl Default for SinkHttpConfig
impl Default for SinkHttpConfig
Source§fn default() -> SinkHttpConfig
fn default() -> SinkHttpConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SinkHttpConfig
impl<'de> Deserialize<'de> for SinkHttpConfig
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 SinkHttpConfig
impl PartialEq for SinkHttpConfig
Source§impl Serialize for SinkHttpConfig
impl Serialize for SinkHttpConfig
impl StructuralPartialEq for SinkHttpConfig
Auto Trait Implementations§
impl Freeze for SinkHttpConfig
impl RefUnwindSafe for SinkHttpConfig
impl Send for SinkHttpConfig
impl Sync for SinkHttpConfig
impl Unpin for SinkHttpConfig
impl UnwindSafe for SinkHttpConfig
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