pub struct CypherKeyVars {
pub file: &'static str,
pub inline: &'static str,
}Expand description
The pair of environment variables one host reads its keys from — <FILE> naming a JSON file,
<INLINE> holding the same document as text. By convention HAYSON_<APP>_CYPHER_KEY_FILE and
HAYSON_<APP>_CYPHER_KEYS.
Fields§
§file: &'static str§inline: &'static strTrait Implementations§
Source§impl Clone for CypherKeyVars
impl Clone for CypherKeyVars
Source§fn clone(&self) -> CypherKeyVars
fn clone(&self) -> CypherKeyVars
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 moreimpl Copy for CypherKeyVars
Auto Trait Implementations§
impl Freeze for CypherKeyVars
impl RefUnwindSafe for CypherKeyVars
impl Send for CypherKeyVars
impl Sync for CypherKeyVars
impl Unpin for CypherKeyVars
impl UnsafeUnpin for CypherKeyVars
impl UnwindSafe for CypherKeyVars
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