pub struct SchemaCacheConfig {
pub cache_dir: PathBuf,
pub cache_file_name: String,
pub schemas: Vec<String>,
}Fields§
§cache_dir: PathBufDirectory to store cache files (default: ./.pgorm).
cache_file_name: StringCache file name inside cache_dir (default: schema.json).
schemas: Vec<String>Which PostgreSQL schemas to introspect (default: ["public"]).
Trait Implementations§
Source§impl Clone for SchemaCacheConfig
impl Clone for SchemaCacheConfig
Source§fn clone(&self) -> SchemaCacheConfig
fn clone(&self) -> SchemaCacheConfig
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 SchemaCacheConfig
impl Debug for SchemaCacheConfig
Auto Trait Implementations§
impl Freeze for SchemaCacheConfig
impl RefUnwindSafe for SchemaCacheConfig
impl Send for SchemaCacheConfig
impl Sync for SchemaCacheConfig
impl Unpin for SchemaCacheConfig
impl UnwindSafe for SchemaCacheConfig
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