pub struct StatedIdentity {
pub user_id: Option<String>,
pub imported_from: Option<String>,
pub about: String,
pub mayor: Option<String>,
pub version: B3Hash,
pub preferences_text: String,
pub mayor_text: String,
}Expand description
The names a new session would freeze, and the two texts a save names
as its base.
Fields§
§user_id: Option<String>What the city calls the person; absent until somebody says, and the page then says “you” in its own language.
imported_from: Option<String>The host whose gh the user id was imported from; absent for a
name typed by hand.
about: StringWhat the person wants every agent to know: PREFERENCES.md
below its identity area.
mayor: Option<String>What the Mayor is called; absent until somebody says, and the page then draws the name its language table ships.
version: B3HashThe version a new session freezes; a run_started line naming
another version ran under other names.
preferences_text: String§mayor_text: StringTrait Implementations§
Source§impl Clone for StatedIdentity
impl Clone for StatedIdentity
Source§impl Debug for StatedIdentity
impl Debug for StatedIdentity
Source§impl<'de> Deserialize<'de> for StatedIdentity
impl<'de> Deserialize<'de> for StatedIdentity
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StatedIdentity
Source§impl PartialEq for StatedIdentity
impl PartialEq for StatedIdentity
Source§impl Serialize for StatedIdentity
impl Serialize for StatedIdentity
impl StructuralPartialEq for StatedIdentity
Auto Trait Implementations§
impl Freeze for StatedIdentity
impl RefUnwindSafe for StatedIdentity
impl Send for StatedIdentity
impl Sync for StatedIdentity
impl Unpin for StatedIdentity
impl UnsafeUnpin for StatedIdentity
impl UnwindSafe for StatedIdentity
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