pub struct StoragePath {
pub id: StoragePathId,
pub slug: String,
pub name: String,
pub path: String,
pub match_pattern: Option<String>,
pub matching_algorithm: MatchAlgorithm,
pub is_insensitive: bool,
pub document_count: u32,
pub owner: Option<UserId>,
pub user_can_change: bool,
}Expand description
A storage path
Fields§
§id: StoragePathId§slug: String§name: String§path: String§match_pattern: Option<String>§matching_algorithm: MatchAlgorithm§is_insensitive: bool§document_count: u32§owner: Option<UserId>§user_can_change: boolTrait Implementations§
Source§impl Clone for StoragePath
impl Clone for StoragePath
Source§fn clone(&self) -> StoragePath
fn clone(&self) -> StoragePath
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 moreSource§impl Debug for StoragePath
impl Debug for StoragePath
Source§impl<'de> Deserialize<'de> for StoragePath
impl<'de> Deserialize<'de> for StoragePath
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
Auto Trait Implementations§
impl Freeze for StoragePath
impl RefUnwindSafe for StoragePath
impl Send for StoragePath
impl Sync for StoragePath
impl Unpin for StoragePath
impl UnsafeUnpin for StoragePath
impl UnwindSafe for StoragePath
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