pub struct FilesWrapper<T> {
pub files: Vec<T>,
}Expand description
helper struct for outer layers with a files field holding the inner data
Fields§
§files: Vec<T>to parse JSON with files key
Trait Implementations§
Source§impl<T: Clone> Clone for FilesWrapper<T>
impl<T: Clone> Clone for FilesWrapper<T>
Source§impl<T: Debug> Debug for FilesWrapper<T>
impl<T: Debug> Debug for FilesWrapper<T>
Source§impl<'de, T> Deserialize<'de> for FilesWrapper<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for FilesWrapper<T>where
T: Deserialize<'de>,
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
impl<T: Eq> Eq for FilesWrapper<T>
Source§impl<T: PartialEq> PartialEq for FilesWrapper<T>
impl<T: PartialEq> PartialEq for FilesWrapper<T>
Source§impl<T> Serialize for FilesWrapper<T>where
T: Serialize,
impl<T> Serialize for FilesWrapper<T>where
T: Serialize,
impl<T: PartialEq> StructuralPartialEq for FilesWrapper<T>
Auto Trait Implementations§
impl<T> Forget for FilesWrapper<T>
impl<T> Freeze for FilesWrapper<T>
impl<T> Move for FilesWrapper<T>
impl<T> RefUnwindSafe for FilesWrapper<T>where
Vec<T>: RefUnwindSafe,
impl<T> Send for FilesWrapper<T>
impl<T> Sync for FilesWrapper<T>
impl<T> Unpin for FilesWrapper<T>
impl<T> UnsafeUnpin for FilesWrapper<T>where
Vec<T>: UnsafeUnpin,
impl<T> UnwindSafe for FilesWrapper<T>where
Vec<T>: UnwindSafe,
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