pub struct StaticTransform {
pub value: Option<Option<Value>>,
pub type: Type,
}
Fields§
§value: Option<Option<Value>>
§type: Type
Implementations§
Source§impl StaticTransform
impl StaticTransform
pub fn new(type: Type) -> StaticTransform
Trait Implementations§
Source§impl Clone for StaticTransform
impl Clone for StaticTransform
Source§fn clone(&self) -> StaticTransform
fn clone(&self) -> StaticTransform
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 StaticTransform
impl Debug for StaticTransform
Source§impl Default for StaticTransform
impl Default for StaticTransform
Source§fn default() -> StaticTransform
fn default() -> StaticTransform
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StaticTransform
impl<'de> Deserialize<'de> for StaticTransform
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 StaticTransform
impl PartialEq for StaticTransform
Source§impl Serialize for StaticTransform
impl Serialize for StaticTransform
impl StructuralPartialEq for StaticTransform
Auto Trait Implementations§
impl Freeze for StaticTransform
impl RefUnwindSafe for StaticTransform
impl Send for StaticTransform
impl Sync for StaticTransform
impl Unpin for StaticTransform
impl UnwindSafe for StaticTransform
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