pub enum RenamePattern {
DateTime {
format: String,
},
Tag {
tag: TagId,
suffix: Option<String>,
},
Custom(String),
}Expand description
文件重命名模式
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RenamePattern
impl Clone for RenamePattern
Source§fn clone(&self) -> RenamePattern
fn clone(&self) -> RenamePattern
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 moreAuto Trait Implementations§
impl Freeze for RenamePattern
impl RefUnwindSafe for RenamePattern
impl Send for RenamePattern
impl Sync for RenamePattern
impl Unpin for RenamePattern
impl UnsafeUnpin for RenamePattern
impl UnwindSafe for RenamePattern
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