[−][src]Enum safe_nd::Response
RPC responses from vaults.
Variants
GetIData(Result<IData>)Get ImmutableData.
GetMData(Result<MData>)Get MutableData.
GetMDataShell(Result<MData>)Get MutableData shell.
GetMDataVersion(Result<u64>)Get MutableData version.
ListMDataEntries(Result<MDataEntries>)List all MutableData entries (key-value pairs).
ListMDataKeys(Result<BTreeSet<Vec<u8>>>)List all MutableData keys.
ListMDataValues(Result<MDataValues>)List all MutableData values.
ListMDataUserPermissions(Result<MDataPermissionSet>)Get MutableData permissions for a user.
ListMDataPermissions(Result<BTreeMap<PublicKey, MDataPermissionSet>>)List all MutableData permissions.
GetMDataValue(Result<MDataValue>)Get MutableData value.
GetAData(Result<AData>)Get AppendOnlyData.
GetADataShell(Result<AData>)Get AppendOnlyData shell.
GetADataOwners(Result<ADataOwner>)Get AppendOnlyData owners.
GetADataRange(Result<ADataEntries>)Get AppendOnlyData.
GetADataValue(Result<Vec<u8>>)Get AppendOnlyData value.
GetADataIndices(Result<ADataIndices>)Get AppendOnlyData indices.
GetADataLastEntry(Result<ADataEntry>)Get AppendOnlyData last entry.
GetADataPermissions(Result<ADataPermissions>)List all AppendOnlyData permissions at the provided index.
GetPubADataUserPermissions(Result<ADataPubPermissionSet>)Get published AppendOnlyData permissions for a user.
GetUnpubADataUserPermissions(Result<ADataUnpubPermissionSet>)Get unpublished AppendOnlyData permissions for a user..
GetBalance(Result<Coins>)Get coin balance.
Transaction(Result<Transaction>)Return the result of a transaction.
GetLoginPacket(Result<(Vec<u8>, Signature)>)Get an encrypted login packet.
ListAuthKeysAndVersion(Result<(BTreeMap<PublicKey, AppPermissions>, u64)>)Get a list of authorised keys and the version of the auth keys container from Elders.
Mutation(Result<()>)Return a success or failure status for a mutation operation.
Trait Implementations
impl Ord for Response[src]
fn cmp(&self, other: &Response) -> Ordering[src]
fn max(self, other: Self) -> Self1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self[src]
clamp)Restrict a value to a certain interval. Read more
impl PartialOrd<Response> for Response[src]
fn partial_cmp(&self, other: &Response) -> Option<Ordering>[src]
fn lt(&self, other: &Response) -> bool[src]
fn le(&self, other: &Response) -> bool[src]
fn gt(&self, other: &Response) -> bool[src]
fn ge(&self, other: &Response) -> bool[src]
impl Clone for Response[src]
fn clone(&self) -> Response[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq<Response> for Response[src]
impl Eq for Response[src]
impl Debug for Response[src]
impl TryFrom<Response> for IData[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for MData[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for u64[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for MDataEntries[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for BTreeSet<Vec<u8>>[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for MDataValues[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for MDataPermissionSet[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for BTreeMap<PublicKey, MDataPermissionSet>[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for MDataValue[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for Vec<u8>[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for AData[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for ADataOwner[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for ADataEntries[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for ADataIndices[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for ADataEntry[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for ADataPermissions[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for ADataPubPermissionSet[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for ADataUnpubPermissionSet[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for Coins[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for Transaction[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for (BTreeMap<PublicKey, AppPermissions>, u64)[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for (Vec<u8>, Signature)[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl TryFrom<Response> for ()[src]
type Error = TryFromError
The type returned in the event of a conversion error.
fn try_from(response: Response) -> Result<Self, Self::Error>[src]
impl Hash for Response[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl Serialize for Response[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl<'de> Deserialize<'de> for Response[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for Response
impl Send for Response
impl Sync for Response
impl RefUnwindSafe for Response
impl UnwindSafe for Response
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> Same<T> for T
type Output = T
Should always be Self