pub struct ExceptionItem(/* private fields */);Implementations§
Source§impl ExceptionItem
impl ExceptionItem
pub fn from_value(v: Value) -> Result<ExceptionItem>
pub fn item_id(&self) -> Result<&str>
Sourcepub fn list_id(&self) -> Result<&str>
pub fn list_id(&self) -> Result<&str>
An item without a list has no home, so absence is an error rather than a default.
pub fn namespace_type(&self) -> &str
pub fn as_map(&self) -> &Map<String, Value>
pub fn as_map_mut(&mut self) -> &mut Map<String, Value>
pub fn into_value(self) -> Value
Trait Implementations§
Source§impl Clone for ExceptionItem
impl Clone for ExceptionItem
Source§fn clone(&self) -> ExceptionItem
fn clone(&self) -> ExceptionItem
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 ExceptionItem
impl Debug for ExceptionItem
Source§impl<'de> Deserialize<'de> for ExceptionItem
impl<'de> Deserialize<'de> for ExceptionItem
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 ExceptionItem
impl PartialEq for ExceptionItem
Source§impl Serialize for ExceptionItem
impl Serialize for ExceptionItem
impl StructuralPartialEq for ExceptionItem
Auto Trait Implementations§
impl Freeze for ExceptionItem
impl RefUnwindSafe for ExceptionItem
impl Send for ExceptionItem
impl Sync for ExceptionItem
impl Unpin for ExceptionItem
impl UnsafeUnpin for ExceptionItem
impl UnwindSafe for ExceptionItem
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