pub struct MultiPartFormEntry { /* private fields */ }Implementations§
Source§impl MultiPartFormEntry
impl MultiPartFormEntry
pub fn from_string(form_str: &str) -> Result<MultiPartFormEntry, Error>
pub fn from_bytes(form: &[u8]) -> Result<MultiPartFormEntry, Error>
pub fn name_value(name: &str, value: &str) -> Self
pub fn file(name: &str, file_name: &str, value: &str) -> Self
pub fn file_name(&self) -> Option<&String>
pub fn content_type(&self) -> Option<&String>
pub fn value(&self) -> &[u8] ⓘ
pub fn name(&self) -> &str
Trait Implementations§
Source§impl Clone for MultiPartFormEntry
impl Clone for MultiPartFormEntry
Source§fn clone(&self) -> MultiPartFormEntry
fn clone(&self) -> MultiPartFormEntry
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 MultiPartFormEntry
impl Debug for MultiPartFormEntry
Source§impl PartialEq for MultiPartFormEntry
impl PartialEq for MultiPartFormEntry
impl Eq for MultiPartFormEntry
impl StructuralPartialEq for MultiPartFormEntry
Auto Trait Implementations§
impl Freeze for MultiPartFormEntry
impl RefUnwindSafe for MultiPartFormEntry
impl Send for MultiPartFormEntry
impl Sync for MultiPartFormEntry
impl Unpin for MultiPartFormEntry
impl UnwindSafe for MultiPartFormEntry
Blanket Implementations§
Source§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
Source§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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