pub enum InferIp {
Auto,
Never,
}Expand description
Settings controlling how client IP addresses should be inferred.
Specifically frontend SDKs may want to have the IP address automatically inferred.
Variants§
Auto
The IP address is inferred by from the client connection.
Never
The client IP address is never inferred.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InferIp
impl<'de> Deserialize<'de> for InferIp
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
impl Copy for InferIp
Auto Trait Implementations§
impl Freeze for InferIp
impl RefUnwindSafe for InferIp
impl Send for InferIp
impl Sync for InferIp
impl Unpin for InferIp
impl UnsafeUnpin for InferIp
impl UnwindSafe for InferIp
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