pub struct Neo4jConfig {
pub uri: String,
pub username: String,
pub password: String,
}
Expand description
Holds Neo4j connection parameters.
These are loaded from environment variables if neo4j_allowed
is true.
Fields§
§uri: String
The URI for the Neo4j database (e.g., “bolt://localhost:7687”).
username: String
The username for Neo4j authentication.
password: String
The password for Neo4j authentication.
Trait Implementations§
source§impl Clone for Neo4jConfig
impl Clone for Neo4jConfig
source§fn clone(&self) -> Neo4jConfig
fn clone(&self) -> Neo4jConfig
Returns a copy 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 Neo4jConfig
impl RefUnwindSafe for Neo4jConfig
impl Send for Neo4jConfig
impl Sync for Neo4jConfig
impl Unpin for Neo4jConfig
impl UnwindSafe for Neo4jConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)