Struct br_oss::Connection
source · pub struct Connection {
pub endpoint: String,
pub access_key_id: String,
pub access_key_secret: String,
pub mode: Mode,
pub bucket_name: String,
}Fields§
§endpoint: String§access_key_id: String§access_key_secret: String§mode: Mode§bucket_name: StringImplementations§
source§impl Connection
impl Connection
pub fn default() -> Connection
pub fn to_json(&mut self) -> JsonValue
pub fn from(&mut self, data: JsonValue) -> &mut Connection
Trait Implementations§
source§impl Clone for Connection
impl Clone for Connection
source§fn clone(&self) -> Connection
fn clone(&self) -> Connection
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 RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
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