Struct jsonrpsee_server::middleware::http::WhitelistedHosts
source · pub struct WhitelistedHosts(/* private fields */);
Expand description
Represent the URL patterns that is whitelisted.
Trait Implementations§
source§impl Clone for WhitelistedHosts
impl Clone for WhitelistedHosts
source§fn clone(&self) -> WhitelistedHosts
fn clone(&self) -> WhitelistedHosts
Returns a copy 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 WhitelistedHosts
impl Debug for WhitelistedHosts
source§impl Default for WhitelistedHosts
impl Default for WhitelistedHosts
source§fn default() -> WhitelistedHosts
fn default() -> WhitelistedHosts
Returns the “default value” for a type. Read more
source§impl<T> From<T> for WhitelistedHostswhere
T: IntoIterator<Item = Authority>,
impl<T> From<T> for WhitelistedHostswhere
T: IntoIterator<Item = Authority>,
Auto Trait Implementations§
impl Freeze for WhitelistedHosts
impl RefUnwindSafe for WhitelistedHosts
impl Send for WhitelistedHosts
impl Sync for WhitelistedHosts
impl Unpin for WhitelistedHosts
impl UnwindSafe for WhitelistedHosts
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)