pub struct ConnectSecretIntents {
pub token: BTreeSet<usize>,
pub app_secret: BTreeSet<usize>,
}Expand description
Extract bamboo-connect platform secret update intents (token,
app_secret) from a config patch, keyed by the platform’s position in the
patch’s connect.platforms array.
connect.platforms is a full-array replace (the settings UI always
round-trips the whole list back in the same order it was fetched in — see
preserve_masked_connect_secrets’s module docs), so
config_manager::build_merged_config’s merged connect.platforms[i]
always originates verbatim from the patch’s connect.platforms[i] —
position i in the patch and position i in the merged config always
refer to the same logical entry, regardless of how that entry’s position
relates to current.connect.platforms (id/type resolution, #490/#492/#496,
happens earlier and only rewrites the VALUE at a given patch index, never
its position). Masked placeholders are ignored — mirrors
provider_api_key_intents; an explicit null is treated the same as
an explicit "" clear (#505) — see [is_secret_field_intent]. Must be
read from the patch AFTER preserve_masked_connect_secrets has
resolved masked placeholders (#521).
Fields§
§token: BTreeSet<usize>§app_secret: BTreeSet<usize>Trait Implementations§
Source§impl Clone for ConnectSecretIntents
impl Clone for ConnectSecretIntents
Source§fn clone(&self) -> ConnectSecretIntents
fn clone(&self) -> ConnectSecretIntents
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConnectSecretIntents
impl Debug for ConnectSecretIntents
Source§impl Default for ConnectSecretIntents
impl Default for ConnectSecretIntents
Source§fn default() -> ConnectSecretIntents
fn default() -> ConnectSecretIntents
impl Eq for ConnectSecretIntents
Source§impl PartialEq for ConnectSecretIntents
impl PartialEq for ConnectSecretIntents
impl StructuralPartialEq for ConnectSecretIntents
Auto Trait Implementations§
impl Freeze for ConnectSecretIntents
impl RefUnwindSafe for ConnectSecretIntents
impl Send for ConnectSecretIntents
impl Sync for ConnectSecretIntents
impl Unpin for ConnectSecretIntents
impl UnsafeUnpin for ConnectSecretIntents
impl UnwindSafe for ConnectSecretIntents
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
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
key and return true if they are equal.