pub struct CertificateChoiceNotificationRequest {
pub relying_party_uuid: String,
pub relying_party_name: String,
pub initial_callback_url: Option<String>,
pub certificate_level: CertificateLevel,
pub nonce: Option<String>,
pub capabilities: Option<Vec<String>>,
pub request_properties: Option<RequestProperties>,
}Expand description
Certificate Choice Notification Request
This struct represents a request for choosing a certificate with the Smart ID service. It includes various parameters required for the certificate choice process.
§Properties
relying_party_uuid- The UUID of the relying party, provided by Smart ID.relying_party_name- The name of the relying party, provided by Smart ID.initial_callback_url- The initial callback URL for the request, used for device link flows (not be required in QR flows).certificate_level- The level of the certificate required for the request.nonce- An optional nonce for the request.capabilities- Used only when agreed with Smart-ID provider. When omitted request capabilities are derived from certificateLevel parameter.request_properties- Optional properties for the request.
§Example
use smart_id_rust_client::config::SmartIDConfig;
use smart_id_rust_client::models::api::certificate_choice_session::CertificateChoiceDeviceLinkRequest;
fn create_certificate_choice_request(cfg: &SmartIDConfig) -> CertificateChoiceDeviceLinkRequest {
CertificateChoiceDeviceLinkRequest::new(cfg)
}Fields§
§relying_party_uuid: String§relying_party_name: String§initial_callback_url: Option<String>§certificate_level: CertificateLevel§nonce: Option<String>§capabilities: Option<Vec<String>>§request_properties: Option<RequestProperties>Implementations§
Source§impl CertificateChoiceNotificationRequest
impl CertificateChoiceNotificationRequest
pub fn new(cfg: &SmartIDConfig) -> Self
Trait Implementations§
Source§impl Clone for CertificateChoiceNotificationRequest
impl Clone for CertificateChoiceNotificationRequest
Source§fn clone(&self) -> CertificateChoiceNotificationRequest
fn clone(&self) -> CertificateChoiceNotificationRequest
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 Default for CertificateChoiceNotificationRequest
impl Default for CertificateChoiceNotificationRequest
Source§fn default() -> CertificateChoiceNotificationRequest
fn default() -> CertificateChoiceNotificationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CertificateChoiceNotificationRequest
impl<'de> Deserialize<'de> for CertificateChoiceNotificationRequest
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 CertificateChoiceNotificationRequest
impl PartialEq for CertificateChoiceNotificationRequest
Source§fn eq(&self, other: &CertificateChoiceNotificationRequest) -> bool
fn eq(&self, other: &CertificateChoiceNotificationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CertificateChoiceNotificationRequest
Auto Trait Implementations§
impl Freeze for CertificateChoiceNotificationRequest
impl RefUnwindSafe for CertificateChoiceNotificationRequest
impl Send for CertificateChoiceNotificationRequest
impl Sync for CertificateChoiceNotificationRequest
impl Unpin for CertificateChoiceNotificationRequest
impl UnsafeUnpin for CertificateChoiceNotificationRequest
impl UnwindSafe for CertificateChoiceNotificationRequest
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