#[non_exhaustive]pub struct SessionFsCapabilities {
pub sqlite: bool,
}Expand description
Optional capabilities declared by a session filesystem provider.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sqlite: boolWhether the provider supports SQLite query/exists operations.
Implementations§
Source§impl SessionFsCapabilities
impl SessionFsCapabilities
Sourcepub fn with_sqlite(self, sqlite: bool) -> Self
pub fn with_sqlite(self, sqlite: bool) -> Self
Enable SQLite support.
Trait Implementations§
Source§impl Clone for SessionFsCapabilities
impl Clone for SessionFsCapabilities
Source§fn clone(&self) -> SessionFsCapabilities
fn clone(&self) -> SessionFsCapabilities
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionFsCapabilities
impl Debug for SessionFsCapabilities
Source§impl Default for SessionFsCapabilities
impl Default for SessionFsCapabilities
Source§fn default() -> SessionFsCapabilities
fn default() -> SessionFsCapabilities
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SessionFsCapabilities
impl RefUnwindSafe for SessionFsCapabilities
impl Send for SessionFsCapabilities
impl Sync for SessionFsCapabilities
impl Unpin for SessionFsCapabilities
impl UnsafeUnpin for SessionFsCapabilities
impl UnwindSafe for SessionFsCapabilities
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