pub struct AzureConfig {
pub account: String,
pub key: String,
pub endpoint: String,
pub journal_table: String,
pub snapshot_table: String,
pub auto_create_tables: bool,
}Fields§
§account: String§key: String§endpoint: String§journal_table: String§snapshot_table: String§auto_create_tables: boolImplementations§
Source§impl AzureConfig
impl AzureConfig
pub fn new( account: impl Into<String>, key: impl Into<String>, endpoint: impl Into<String>, ) -> Self
Sourcepub fn from_connection_string(cs: &str) -> Result<Self, JournalError>
pub fn from_connection_string(cs: &str) -> Result<Self, JournalError>
Connection-string style input, e.g.
AccountName=...;AccountKey=...;TableEndpoint=....
pub fn from_env() -> Self
Trait Implementations§
Source§impl Clone for AzureConfig
impl Clone for AzureConfig
Source§fn clone(&self) -> AzureConfig
fn clone(&self) -> AzureConfig
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 moreAuto Trait Implementations§
impl Freeze for AzureConfig
impl RefUnwindSafe for AzureConfig
impl Send for AzureConfig
impl Sync for AzureConfig
impl Unpin for AzureConfig
impl UnsafeUnpin for AzureConfig
impl UnwindSafe for AzureConfig
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