#[non_exhaustive]pub struct RequestProperties {
pub share_md_client_ip_address: bool,
}Expand description
Request Properties
This struct represents the properties of a request to the Smart ID service.
Currently, it only includes one property, share_md_client_ip_address.
§Properties
share_md_client_ip_address- A boolean flag indicating whether the RP API server should share the user’s mobile device IP address with the RP. By default, it is set to false. The RP must have proper privilege to use this property. See section IP sharing for details.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.Whether the RP API server should share user mobile device IP address with the RP. By default it is set to false. The RP must have proper privilege to use this property. See section IP sharing for details.
Trait Implementations§
Source§impl Clone for RequestProperties
impl Clone for RequestProperties
Source§fn clone(&self) -> RequestProperties
fn clone(&self) -> RequestProperties
Returns a duplicate 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 RequestProperties
impl Debug for RequestProperties
Source§impl Default for RequestProperties
impl Default for RequestProperties
Source§fn default() -> RequestProperties
fn default() -> RequestProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RequestProperties
impl<'de> Deserialize<'de> for RequestProperties
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 RequestProperties
impl PartialEq for RequestProperties
Source§impl Serialize for RequestProperties
impl Serialize for RequestProperties
impl StructuralPartialEq for RequestProperties
Auto Trait Implementations§
impl Freeze for RequestProperties
impl RefUnwindSafe for RequestProperties
impl Send for RequestProperties
impl Sync for RequestProperties
impl Unpin for RequestProperties
impl UnsafeUnpin for RequestProperties
impl UnwindSafe for RequestProperties
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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