pub struct TenantSummary {
pub tenant: String,
pub status: TenantStatus,
}Expand description
One row of the registry, as this port reports it.
Deliberately omits the DSN, unlike the adapter’s TenantRecord
(which carries it, because reconciliation connects with it): a
runtime-neutral listing is the thing most likely to be logged,
rendered into a dashboard, or printed by the fz tenant command
this port exists for. ADR 0008 makes a tenant DSN a global secret
the registry names but never hands out, so a type that does not
contain the string is a leak the compiler rules out — a comment on a
field that does is not.
Fields§
§tenant: StringThe tenant id, e.g. factory0.
status: TenantStatusThe status the registry last recorded.
Trait Implementations§
Source§impl Clone for TenantSummary
impl Clone for TenantSummary
Source§impl Debug for TenantSummary
impl Debug for TenantSummary
impl Eq for TenantSummary
Source§impl PartialEq for TenantSummary
impl PartialEq for TenantSummary
impl StructuralPartialEq for TenantSummary
Auto Trait Implementations§
impl Freeze for TenantSummary
impl RefUnwindSafe for TenantSummary
impl Send for TenantSummary
impl Sync for TenantSummary
impl Unpin for TenantSummary
impl UnsafeUnpin for TenantSummary
impl UnwindSafe for TenantSummary
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
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.