pub struct CatalogRequest {
pub url: &'static str,
pub user_agent: &'static str,
pub accept: &'static str,
pub accept_encoding: &'static str,
pub if_none_match: Option<String>,
}Expand description
The only request shape accepted by the catalog transport boundary.
Fields§
§url: &'static str§user_agent: &'static str§accept: &'static str§accept_encoding: &'static str§if_none_match: Option<String>Trait Implementations§
Source§impl Clone for CatalogRequest
impl Clone for CatalogRequest
Source§fn clone(&self) -> CatalogRequest
fn clone(&self) -> CatalogRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CatalogRequest
impl Debug for CatalogRequest
impl Eq for CatalogRequest
Source§impl PartialEq for CatalogRequest
impl PartialEq for CatalogRequest
Source§fn eq(&self, other: &CatalogRequest) -> bool
fn eq(&self, other: &CatalogRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CatalogRequest
Auto Trait Implementations§
impl Freeze for CatalogRequest
impl RefUnwindSafe for CatalogRequest
impl Send for CatalogRequest
impl Sync for CatalogRequest
impl Unpin for CatalogRequest
impl UnsafeUnpin for CatalogRequest
impl UnwindSafe for CatalogRequest
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