pub struct StoragePaths { /* private fields */ }Implementations§
Source§impl StoragePaths
impl StoragePaths
pub fn from_profile(paths: &PathsConfig) -> Result<Self, PathError>
pub fn root(&self) -> &Path
pub fn files(&self) -> &Path
pub fn css(&self) -> &Path
pub fn js(&self) -> &Path
pub fn fonts(&self) -> &Path
pub fn images(&self) -> &Path
pub fn generated_images(&self) -> &Path
pub fn logos(&self) -> &Path
pub fn audio(&self) -> &Path
pub fn video(&self) -> &Path
pub fn documents(&self) -> &Path
pub fn uploads(&self) -> &Path
Trait Implementations§
Source§impl Clone for StoragePaths
impl Clone for StoragePaths
Source§fn clone(&self) -> StoragePaths
fn clone(&self) -> StoragePaths
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 StoragePaths
impl RefUnwindSafe for StoragePaths
impl Send for StoragePaths
impl Sync for StoragePaths
impl Unpin for StoragePaths
impl UnsafeUnpin for StoragePaths
impl UnwindSafe for StoragePaths
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