pub enum Method {
Random,
Uuid,
Time,
Num,
Znum,
Prefix,
Append,
Uppercase,
Lowercase,
}Variants§
Random
=> 9AFoh, wGRLC, knj9y, … (–nbits => 5)
Uuid
=> de2662a9-fb02-4686-b556-0aca36c0e087
Time
=> 2023-03-04-22-26-42-222655555 (–delimiter => -)
Num
=> 1, 2, 3, … (–start => 1)
Znum
=> 001, 002, 003, … (–nbits => 3)
Prefix
=> X.jpg –>
Append
=> X.jpg –> X
Uppercase
TODO: OS problem. aBcDe123.txt –> ABCDE123.txt.
Lowercase
TODO: OS problem. aBcDe123.txt –> abcde123.txt.
Trait Implementations§
impl Copy for Method
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
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