pub struct OrNullJsonAdapter<T: Clone + Send + Sync + 'static>(/* private fields */);Implementations§
Source§impl<T: Clone + Send + Sync + 'static> OrNullJsonAdapter<T>
impl<T: Clone + Send + Sync + 'static> OrNullJsonAdapter<T>
pub fn encode_to_json(&self, x__843: Option<T>, p__844: JsonProducer)
pub fn decode_from_json( &self, t__847: JsonSyntaxTree, ic__848: InterchangeContext, ) -> Result<Option<T>>
pub fn new(adapterForT__851: JsonAdapter<T>) -> OrNullJsonAdapter<T>
Trait Implementations§
Source§impl<T: Clone + Send + Sync + 'static> AnyValueTrait for OrNullJsonAdapter<T>
impl<T: Clone + Send + Sync + 'static> AnyValueTrait for OrNullJsonAdapter<T>
Source§impl<T: Clone + Send + Sync + 'static> AsAnyValue for OrNullJsonAdapter<T>
impl<T: Clone + Send + Sync + 'static> AsAnyValue for OrNullJsonAdapter<T>
fn as_any_value(&self) -> AnyValue
Source§impl<T: Clone + Clone + Send + Sync + 'static> Clone for OrNullJsonAdapter<T>
impl<T: Clone + Clone + Send + Sync + 'static> Clone for OrNullJsonAdapter<T>
Source§fn clone(&self) -> OrNullJsonAdapter<T>
fn clone(&self) -> OrNullJsonAdapter<T>
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<T: Clone + Send + Sync + 'static> JsonAdapterTrait<Option<T>> for OrNullJsonAdapter<T>
impl<T: Clone + Send + Sync + 'static> JsonAdapterTrait<Option<T>> for OrNullJsonAdapter<T>
fn clone_boxed(&self) -> JsonAdapter<Option<T>>
fn encode_to_json(&self, x__843: Option<T>, p__844: JsonProducer)
fn decode_from_json( &self, t__847: JsonSyntaxTree, ic__848: InterchangeContext, ) -> Result<Option<T>>
Auto Trait Implementations§
impl<T> Freeze for OrNullJsonAdapter<T>
impl<T> !RefUnwindSafe for OrNullJsonAdapter<T>
impl<T> Send for OrNullJsonAdapter<T>
impl<T> Sync for OrNullJsonAdapter<T>
impl<T> Unpin for OrNullJsonAdapter<T>
impl<T> !UnwindSafe for OrNullJsonAdapter<T>
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