pub struct CreateValidationKeyResponseDto {
pub validation_key: ValidationKeyDto,
pub admins: Vec<String>,
pub approval_threshold: f64,
pub request_id: f64,
}
Fields§
§validation_key: ValidationKeyDto
Created validation key
admins: Vec<String>
Admins who have to approve the validation key addition
approval_threshold: f64
Minimal number of approvers required. 0 for all
request_id: f64
Approval request id. Can be cancelled
Implementations§
Source§impl CreateValidationKeyResponseDto
impl CreateValidationKeyResponseDto
pub fn new( validation_key: ValidationKeyDto, admins: Vec<String>, approval_threshold: f64, request_id: f64, ) -> CreateValidationKeyResponseDto
Trait Implementations§
Source§impl Clone for CreateValidationKeyResponseDto
impl Clone for CreateValidationKeyResponseDto
Source§fn clone(&self) -> CreateValidationKeyResponseDto
fn clone(&self) -> CreateValidationKeyResponseDto
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 CreateValidationKeyResponseDto
impl Default for CreateValidationKeyResponseDto
Source§fn default() -> CreateValidationKeyResponseDto
fn default() -> CreateValidationKeyResponseDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateValidationKeyResponseDto
impl<'de> Deserialize<'de> for CreateValidationKeyResponseDto
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 CreateValidationKeyResponseDto
impl PartialEq for CreateValidationKeyResponseDto
Source§fn eq(&self, other: &CreateValidationKeyResponseDto) -> bool
fn eq(&self, other: &CreateValidationKeyResponseDto) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateValidationKeyResponseDto
Auto Trait Implementations§
impl Freeze for CreateValidationKeyResponseDto
impl RefUnwindSafe for CreateValidationKeyResponseDto
impl Send for CreateValidationKeyResponseDto
impl Sync for CreateValidationKeyResponseDto
impl Unpin for CreateValidationKeyResponseDto
impl UnwindSafe for CreateValidationKeyResponseDto
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