pub struct HabitatRecord {
pub hid: String,
pub name: Option<String>,
pub domain: Option<String>,
pub mid: Option<String>,
pub smids: Option<Vec<String>>,
pub rmids: Option<Vec<String>>,
pub sid: Option<String>,
pub watchers: Vec<String>,
}Expand description
Habitat application state information keyed by habitat name (baser.habs)
Corresponds to HabitatRecord dataclass from keripy
Fields§
§hid: StringHabitat own identifier prefix qb64
name: Option<String>Habitat name
domain: Option<String>Domain
mid: Option<String>Group member identifier qb64 when hid is group
smids: Option<Vec<String>>Group signing member identifiers qb64 when hid is group
rmids: Option<Vec<String>>Group rotating member identifiers qb64 when hid is group
sid: Option<String>Signify identifier qb64 when hid is Signify
watchers: Vec<String>List of id prefixes qb64 of watchers
Implementations§
Trait Implementations§
Source§impl Clone for HabitatRecord
impl Clone for HabitatRecord
Source§fn clone(&self) -> HabitatRecord
fn clone(&self) -> HabitatRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HabitatRecord
impl Debug for HabitatRecord
Source§impl Default for HabitatRecord
impl Default for HabitatRecord
Source§impl<'de> Deserialize<'de> for HabitatRecord
impl<'de> Deserialize<'de> for HabitatRecord
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 HabitatRecord
Source§impl PartialEq for HabitatRecord
impl PartialEq for HabitatRecord
Source§impl Serialize for HabitatRecord
impl Serialize for HabitatRecord
impl StructuralPartialEq for HabitatRecord
Auto Trait Implementations§
impl Freeze for HabitatRecord
impl RefUnwindSafe for HabitatRecord
impl Send for HabitatRecord
impl Sync for HabitatRecord
impl Unpin for HabitatRecord
impl UnsafeUnpin for HabitatRecord
impl UnwindSafe for HabitatRecord
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
key and return true if they are equal.