pub struct PropertyValue { /* private fields */ }
Implementations§
Source§impl PropertyValue
impl PropertyValue
pub fn new<T: Serialize>(value: &T) -> IntermediateResult<Self>
pub fn get<'a, T: Deserialize<'a>>( &'a self, mode: PropertyCastMode, ) -> IntermediateResult<T>
pub fn get_exact<'a, T: Deserialize<'a>>(&'a self) -> IntermediateResult<T>
pub fn get_interpret<'a, T: Deserialize<'a>>(&'a self) -> IntermediateResult<T>
pub fn into_inner(self) -> Intermediate
Trait Implementations§
Source§impl Clone for PropertyValue
impl Clone for PropertyValue
Source§fn clone(&self) -> PropertyValue
fn clone(&self) -> PropertyValue
Returns a copy 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 PropertyValue
impl Debug for PropertyValue
Source§impl Default for PropertyValue
impl Default for PropertyValue
Source§fn default() -> PropertyValue
fn default() -> PropertyValue
Returns the “default value” for a type. Read more
Source§impl PartialEq for PropertyValue
impl PartialEq for PropertyValue
impl StructuralPartialEq for PropertyValue
Auto Trait Implementations§
impl Freeze for PropertyValue
impl RefUnwindSafe for PropertyValue
impl Send for PropertyValue
impl Sync for PropertyValue
impl Unpin for PropertyValue
impl UnwindSafe for PropertyValue
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