pub struct IdentityDeleteOutcome {
pub deleted: bool,
pub links_cascaded: usize,
pub affected_agents: Vec<String>,
}Expand description
What Store::identity_delete removed — the account row plus the
cascaded db_agent_identity_links junction rows. Consumed by the
deleteidentityaccount handler for identity.delete: logging and
the layer-2/4 affected-agent disclosure
(SPEC_ACCOUNT_DELETE_DEAUTH_LAYERS_2_4_2026_07_14.md §3/§4).
Fields§
§deleted: boolTrue iff the db_accounts row existed and was deleted.
links_cascaded: usizeNumber of db_agent_identity_links rows removed in the same
transaction.
affected_agents: Vec<String>The agent_ids whose links were cascaded — captured by SELECT
inside the same transaction, BEFORE the delete, so the set is
exact even though the rows are gone by the time this returns.
Any of these agents that has a live process still holds working
tokens until restarted; the handler publishes a per-agent
revocation event so the UI can disclose that (spec §3).
Trait Implementations§
Source§impl Clone for IdentityDeleteOutcome
impl Clone for IdentityDeleteOutcome
Source§fn clone(&self) -> IdentityDeleteOutcome
fn clone(&self) -> IdentityDeleteOutcome
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 IdentityDeleteOutcome
impl Debug for IdentityDeleteOutcome
impl Eq for IdentityDeleteOutcome
Source§impl PartialEq for IdentityDeleteOutcome
impl PartialEq for IdentityDeleteOutcome
impl StructuralPartialEq for IdentityDeleteOutcome
Auto Trait Implementations§
impl Freeze for IdentityDeleteOutcome
impl RefUnwindSafe for IdentityDeleteOutcome
impl Send for IdentityDeleteOutcome
impl Sync for IdentityDeleteOutcome
impl Unpin for IdentityDeleteOutcome
impl UnsafeUnpin for IdentityDeleteOutcome
impl UnwindSafe for IdentityDeleteOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more