neo4rs 0.8.0

Rust driver for Neo4j
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::path::{Path, PathBuf};

#[derive(Debug, Clone)]
pub struct ClientCertificate {
    pub(crate) cert_file: PathBuf,
}

impl ClientCertificate {
    pub fn new(path: impl AsRef<Path>) -> Self {
        ClientCertificate {
            cert_file: path.as_ref().to_path_buf(),
        }
    }
}