pub struct ClientIpTrustView {
pub networks: Vec<String>,
pub hosts: Vec<ClientIpTrustViewHostsInner>,
pub cloudflare: bool,
}Fields§
§networks: Vec<String>§hosts: Vec<ClientIpTrustViewHostsInner>§cloudflare: boolImplementations§
Source§impl ClientIpTrustView
impl ClientIpTrustView
pub fn new( networks: Vec<String>, hosts: Vec<ClientIpTrustViewHostsInner>, cloudflare: bool, ) -> ClientIpTrustView
Trait Implementations§
Source§impl Clone for ClientIpTrustView
impl Clone for ClientIpTrustView
Source§impl Debug for ClientIpTrustView
impl Debug for ClientIpTrustView
Source§impl Default for ClientIpTrustView
impl Default for ClientIpTrustView
Source§impl<'de> Deserialize<'de> for ClientIpTrustView
impl<'de> Deserialize<'de> for ClientIpTrustView
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 ClientIpTrustView
impl PartialEq for ClientIpTrustView
Source§impl Serialize for ClientIpTrustView
impl Serialize for ClientIpTrustView
impl StructuralPartialEq for ClientIpTrustView
Auto Trait Implementations§
impl Forget for ClientIpTrustView
impl Freeze for ClientIpTrustViewwhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<ClientIpTrustViewHostsInner>: Freeze,
impl Move for ClientIpTrustView
impl RefUnwindSafe for ClientIpTrustView
impl Send for ClientIpTrustViewwhere
RawVecInner: Send,
impl Sync for ClientIpTrustViewwhere
RawVecInner: Sync,
impl Unpin for ClientIpTrustView
impl UnsafeUnpin for ClientIpTrustViewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<ClientIpTrustViewHostsInner>: UnsafeUnpin,
impl UnwindSafe for ClientIpTrustViewwhere
RawVecInner: UnwindSafe,
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