pub struct NotificationSecretIntents {
pub ntfy_token: bool,
pub bark_device_key: bool,
}Expand description
Extract notification-channel secret update intents (ntfy token, Bark
device_key) from a config patch.
Mirrors provider_api_key_intents: masked placeholders are ignored
(they signal “keep existing secret”); an explicit empty string OR an
explicit JSON null (#505) is a genuine intent (a clear), same as a
genuine new value (a set) — see [is_secret_field_intent]. Must be
read from the patch AFTER preserve_masked_notification_secrets has
resolved masked placeholders — same calling convention as the provider
intents (#521).
Fields§
§ntfy_token: bool§bark_device_key: boolTrait Implementations§
Source§impl Clone for NotificationSecretIntents
impl Clone for NotificationSecretIntents
Source§fn clone(&self) -> NotificationSecretIntents
fn clone(&self) -> NotificationSecretIntents
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NotificationSecretIntents
impl Debug for NotificationSecretIntents
Source§impl Default for NotificationSecretIntents
impl Default for NotificationSecretIntents
Source§fn default() -> NotificationSecretIntents
fn default() -> NotificationSecretIntents
Returns the “default value” for a type. Read more
impl Eq for NotificationSecretIntents
impl StructuralPartialEq for NotificationSecretIntents
Auto Trait Implementations§
impl Freeze for NotificationSecretIntents
impl RefUnwindSafe for NotificationSecretIntents
impl Send for NotificationSecretIntents
impl Sync for NotificationSecretIntents
impl Unpin for NotificationSecretIntents
impl UnsafeUnpin for NotificationSecretIntents
impl UnwindSafe for NotificationSecretIntents
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.