pub struct SseRequest {
pub url: String,
pub headers: Vec<(String, String)>,
}Expand description
SseRequest data container.
Fields§
§url: Stringurl field for url.
headers: Vec<(String, String)>headers field for headers.
Implementations§
Trait Implementations§
Source§impl Clone for SseRequest
impl Clone for SseRequest
Source§fn clone(&self) -> SseRequest
fn clone(&self) -> SseRequest
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 SseRequest
impl Debug for SseRequest
Source§impl PartialEq for SseRequest
impl PartialEq for SseRequest
impl Eq for SseRequest
impl StructuralPartialEq for SseRequest
Auto Trait Implementations§
impl Freeze for SseRequest
impl RefUnwindSafe for SseRequest
impl Send for SseRequest
impl Sync for SseRequest
impl Unpin for SseRequest
impl UnsafeUnpin for SseRequest
impl UnwindSafe for SseRequest
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.