Struct unleash_api_client::context::Context
source · pub struct Context {
pub user_id: Option<String>,
pub session_id: Option<String>,
pub remote_address: Option<IPAddress>,
pub properties: HashMap<String, String>,
pub app_name: String,
pub environment: String,
}
Fields§
§user_id: Option<String>
§session_id: Option<String>
§remote_address: Option<IPAddress>
§properties: HashMap<String, String>
§app_name: String
§environment: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for Context
impl<'de> Deserialize<'de> for Context
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
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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