pub struct PinCode { /* private fields */ }Implementations§
Source§impl PinCode
impl PinCode
Sourcepub fn new(
value: String,
label: Option<String>,
required: bool,
privacy_screen: bool,
) -> KeeperField
pub fn new( value: String, label: Option<String>, required: bool, privacy_screen: bool, ) -> KeeperField
ⓘ
use keeper_secrets_manager_core::dto::field_structs;
let pincode_field = field_structs::PinCode::new("233556".to_string(), Some("PINCODE_DUMMY_LABEL".to_string()), false, false);
let mut login_new = RecordCreate::new("login".to_string(), "custom_login_new_login_create".to_string(), Some("dummy_notes_changed".to_string()));
login_new.append_standard_fields(pincode_field);
let created_record :Result<String, KSMRError> = secrets_manager.create_secret("some_folder_uid".to_string(), login_new);pub fn new_pin_code(value: String) -> KeeperField
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PinCode
impl<'de> Deserialize<'de> for PinCode
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 PinCode
impl RefUnwindSafe for PinCode
impl Send for PinCode
impl Sync for PinCode
impl Unpin for PinCode
impl UnwindSafe for PinCode
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