pub struct StringValue {
pub value: String,
pub success: bool,
pub error: String,
pub absent: bool,
}Fields§
§value: String§success: bool§error: String§absent: boolTrait Implementations§
Source§impl Debug for StringValue
impl Debug for StringValue
Source§impl<'de> Deserialize<'de> for StringValue
impl<'de> Deserialize<'de> for StringValue
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 SpellValueT for StringValue
impl SpellValueT for StringValue
fn is_success(&self) -> bool
fn take_error(self) -> String
Auto Trait Implementations§
impl Freeze for StringValue
impl RefUnwindSafe for StringValue
impl Send for StringValue
impl Sync for StringValue
impl Unpin for StringValue
impl UnwindSafe for StringValue
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