Struct dioxus::prelude::SerializedFormData
source · pub struct SerializedFormData { /* private fields */ }
Available on crate feature
html
only.Expand description
A serialized form data object
Implementations§
source§impl SerializedFormData
impl SerializedFormData
sourcepub fn new(
value: String,
values: HashMap<String, FormValue>,
files: Option<SerializedFileEngine>
) -> SerializedFormData
pub fn new( value: String, values: HashMap<String, FormValue>, files: Option<SerializedFileEngine> ) -> SerializedFormData
Create a new serialized form data object
sourcepub async fn async_from(data: &FormData) -> SerializedFormData
pub async fn async_from(data: &FormData) -> SerializedFormData
Create a new serialized form data object from a traditional form data object
Trait Implementations§
source§impl Clone for SerializedFormData
impl Clone for SerializedFormData
source§fn clone(&self) -> SerializedFormData
fn clone(&self) -> SerializedFormData
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 SerializedFormData
impl Debug for SerializedFormData
source§impl<'de> Deserialize<'de> for SerializedFormData
impl<'de> Deserialize<'de> for SerializedFormData
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SerializedFormData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SerializedFormData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl HasFileData for SerializedFormData
impl HasFileData for SerializedFormData
source§impl HasFormData for SerializedFormData
impl HasFormData for SerializedFormData
source§impl PartialEq for SerializedFormData
impl PartialEq for SerializedFormData
source§fn eq(&self, other: &SerializedFormData) -> bool
fn eq(&self, other: &SerializedFormData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SerializedFormData
impl Serialize for SerializedFormData
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SerializedFormData
Auto Trait Implementations§
impl Freeze for SerializedFormData
impl RefUnwindSafe for SerializedFormData
impl Send for SerializedFormData
impl Sync for SerializedFormData
impl Unpin for SerializedFormData
impl UnwindSafe for SerializedFormData
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.
source§impl<Cfg> TryIntoConfig for Cfg
impl<Cfg> TryIntoConfig for Cfg
source§fn into_config(self) -> Option<Cfg>
fn into_config(self) -> Option<Cfg>
Available on crate feature
launch
only.