pub struct MigrationSignpost {
pub v2_community_id: String,
pub owner_xonly: String,
pub owner_salt: String,
pub relays: Vec<String>,
pub name: String,
pub primary_channel: String,
pub root_epoch: u64,
}Expand description
The plaintext signpost: where the v2 twin lives. Grants nothing by itself — every field is verified against the member’s held v1 owner anchor (triple-bind) before any use.
Fields§
§v2_community_id: StringThe v2 self-certifying community id. Must recompute from owner_xonly + owner_salt.
owner_xonly: StringMust equal the member’s held v1 owner anchor (owner continuity — the consent basis).
owner_salt: StringThe v2 owner salt (public input to the self-cert id).
relays: Vec<String>The v2 relay set (capped like every other attacker-influencable relay list).
name: StringDisplay name at migration time (informational only).
primary_channel: StringWhich stitched channel the one-row UI surfaces.
root_epoch: u64The v1 base epoch at publish — bounds a stale member’s catch-up walk before they
conclude m is unopenable (a member holding an epoch >= this that still cannot
open m is genuinely outside the member set).
Trait Implementations§
Source§impl Clone for MigrationSignpost
impl Clone for MigrationSignpost
Source§fn clone(&self) -> MigrationSignpost
fn clone(&self) -> MigrationSignpost
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 MigrationSignpost
impl Debug for MigrationSignpost
Source§impl<'de> Deserialize<'de> for MigrationSignpost
impl<'de> Deserialize<'de> for MigrationSignpost
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>,
impl Eq for MigrationSignpost
Source§impl PartialEq for MigrationSignpost
impl PartialEq for MigrationSignpost
Source§impl Serialize for MigrationSignpost
impl Serialize for MigrationSignpost
impl StructuralPartialEq for MigrationSignpost
Auto Trait Implementations§
impl Freeze for MigrationSignpost
impl RefUnwindSafe for MigrationSignpost
impl Send for MigrationSignpost
impl Sync for MigrationSignpost
impl Unpin for MigrationSignpost
impl UnsafeUnpin for MigrationSignpost
impl UnwindSafe for MigrationSignpost
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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