Struct command::object::InviteLink
zaun_community_protocol::command::object::InviteLink · Struct
pub struct InviteLink(…)A zaun://join/… link. It embeds the crate::ids::InviteSecret, so Debug is
redacted; the text is reachable only through InviteLink::expose.
Methods
Section titled “Methods”pub const fn new(link: String) -> SelfWraps a link built by the host.
expose
Section titled “expose”pub fn expose(&self) -> &strThe link text, for the one place it is shown.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq