pub struct SecureNote { /* private fields */ }Implementations§
Source§impl SecureNote
impl SecureNote
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 mut login_new = RecordCreate::new("login".to_string(), "custom_login_new_login_create".to_string(), Some("dummy_notes_changed".to_string()));
let secret_note = field_structs::SecureNote::new("This is a sample note".to_string(), None, true, false);
login_new.append_standard_fields(secret_note);
let created_record :Result<String, KSMRError> = secrets_manager.create_secret("some_folder_uid".to_string(), login_new);pub fn new_secure_note(value: String) -> KeeperField
Trait Implementations§
Source§impl Debug for SecureNote
impl Debug for SecureNote
Source§impl<'de> Deserialize<'de> for SecureNote
impl<'de> Deserialize<'de> for SecureNote
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 SecureNote
impl RefUnwindSafe for SecureNote
impl Send for SecureNote
impl Sync for SecureNote
impl Unpin for SecureNote
impl UnwindSafe for SecureNote
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