pub struct TrashInput {
pub mode: Option<TrashMode>,
pub target: Option<ContentTarget>,
pub limit: Option<u32>,
pub offset: Option<u32>,
}Expand description
Input for the trash tool: list your trash, or restore or erase one
item in it
Fields§
§mode: Option<TrashMode>list (the default), restore, or delete_permanently, which
cannot be undone
target: Option<ContentTarget>The item: needed to restore or erase it, and with list it shows
that item in full
limit: Option<u32>How many items; 25 by default
offset: Option<u32>Items to skip, for paging
Implementations§
Source§impl TrashInput
impl TrashInput
Trait Implementations§
Source§impl Clone for TrashInput
impl Clone for TrashInput
Source§impl Debug for TrashInput
impl Debug for TrashInput
Source§impl Default for TrashInput
impl Default for TrashInput
Source§impl<'de> Deserialize<'de> for TrashInput
impl<'de> Deserialize<'de> for TrashInput
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 Eq for TrashInput
Source§impl PartialEq for TrashInput
impl PartialEq for TrashInput
Source§impl Serialize for TrashInput
impl Serialize for TrashInput
impl StructuralPartialEq for TrashInput
Auto Trait Implementations§
impl Freeze for TrashInput
impl RefUnwindSafe for TrashInput
impl Send for TrashInput
impl Sync for TrashInput
impl Unpin for TrashInput
impl UnsafeUnpin for TrashInput
impl UnwindSafe for TrashInput
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.