[−][src]Enum hdk::prelude::Entry
Structure holding actual data in a source chain "Item" data is stored as a JsonString
Variants
App(AppEntryType, JsonString)
AgentId(AgentId)
Deletion(DeletionEntry)
LinkAdd(LinkData)
LinkRemove((LinkData, Vec<HashString>))
LinkList(LinkList)
ChainHeader(ChainHeader)
ChainMigrate(ChainMigrate)
CapTokenClaim(CapTokenClaim)
CapTokenGrant(CapTokenGrant)
Methods
impl Entry
[src]
pub fn entry_type(&self) -> EntryType
[src]
Trait Implementations
impl AddressableContent for Entry
[src]
fn address(&self) -> HashString
[src]
fn content(&self) -> JsonString
[src]
fn try_from_content(content: &JsonString) -> Result<Entry, JsonError>
[src]
impl Clone for Entry
[src]
impl Debug for Entry
[src]
impl<'de> Deserialize<'de> for Entry
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<Entry, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Entry, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Eq for Entry
[src]
impl<'a> From<&'a Entry> for JsonString
[src]
fn from(v: &Entry) -> JsonString
[src]
impl From<Entry> for JsonString
[src]
fn from(v: Entry) -> JsonString
[src]
impl PartialEq<Entry> for Entry
[src]
impl Serialize for Entry
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralEq for Entry
[src]
impl<'a> TryFrom<&'a JsonString> for Entry
[src]
type Error = JsonError
The type returned in the event of a conversion error.
fn try_from(
json_string: &JsonString
) -> Result<Entry, <Entry as TryFrom<&'a JsonString>>::Error>
[src]
json_string: &JsonString
) -> Result<Entry, <Entry as TryFrom<&'a JsonString>>::Error>
impl TryFrom<JsonString> for Entry
[src]
Auto Trait Implementations
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clone for T where
T: Clone,
[src]
T: Clone,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,