pub struct EntityNotFoundError {
pub type: String,
pub address: String,
}Fields§
§type: StringThe type of error. Each subtype may have its own additional structured fields.
address: StringBech32m-encoded human readable version of the address.
Implementations§
Source§impl EntityNotFoundError
impl EntityNotFoundError
pub fn new(type: String, address: String) -> EntityNotFoundError
Trait Implementations§
Source§impl CandidType for EntityNotFoundError
impl CandidType for EntityNotFoundError
Source§impl Clone for EntityNotFoundError
impl Clone for EntityNotFoundError
Source§fn clone(&self) -> EntityNotFoundError
fn clone(&self) -> EntityNotFoundError
Returns a duplicate of the value. Read more
1.0.0 · 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 EntityNotFoundError
impl Debug for EntityNotFoundError
Source§impl Default for EntityNotFoundError
impl Default for EntityNotFoundError
Source§fn default() -> EntityNotFoundError
fn default() -> EntityNotFoundError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EntityNotFoundError
impl<'de> Deserialize<'de> for EntityNotFoundError
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
Source§impl PartialEq for EntityNotFoundError
impl PartialEq for EntityNotFoundError
Source§impl Serialize for EntityNotFoundError
impl Serialize for EntityNotFoundError
impl StructuralPartialEq for EntityNotFoundError
Auto Trait Implementations§
impl Freeze for EntityNotFoundError
impl RefUnwindSafe for EntityNotFoundError
impl Send for EntityNotFoundError
impl Sync for EntityNotFoundError
impl Unpin for EntityNotFoundError
impl UnwindSafe for EntityNotFoundError
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