pub struct PayloadResponse {
pub text: String,
}Expand description
The wire form of one resolved SlotAddress (issue #30) — deliberately just the text, no
echo of the address or the truncated marker: the caller already has both from the
document it read the address off, so restating them here would only invite the two copies
to drift. Shared by amberfork-server’s handler and the web painter’s fetch, the same way
Document is — one wire contract, not one redeclared per consumer.
Fields§
§text: StringTrait Implementations§
Source§impl Clone for PayloadResponse
impl Clone for PayloadResponse
Source§fn clone(&self) -> PayloadResponse
fn clone(&self) -> PayloadResponse
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 PayloadResponse
impl Debug for PayloadResponse
Source§impl<'de> Deserialize<'de> for PayloadResponse
impl<'de> Deserialize<'de> for PayloadResponse
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 PayloadResponse
Source§impl PartialEq for PayloadResponse
impl PartialEq for PayloadResponse
Source§impl Serialize for PayloadResponse
impl Serialize for PayloadResponse
impl StructuralPartialEq for PayloadResponse
Auto Trait Implementations§
impl Freeze for PayloadResponse
impl RefUnwindSafe for PayloadResponse
impl Send for PayloadResponse
impl Sync for PayloadResponse
impl Unpin for PayloadResponse
impl UnsafeUnpin for PayloadResponse
impl UnwindSafe for PayloadResponse
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>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.