Struct typeform_rs::Metadata [−][src]
pub struct Metadata {
pub user_agent: String,
pub platform: Option<String>,
pub referer: String,
pub network_id: String,
}Expand description
Metadata about a client’s HTTP request.
Fields
user_agent: Stringplatform: Option<String>Derived from user agent.
referer: Stringnetwork_id: StringIP of the client.
Trait Implementations
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 RefUnwindSafe for Metadata
impl UnwindSafe for Metadata
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more