pub struct OptRegionArg(pub Option<RegionCode>);Expand description
One region code, or none to clear the setting.
Tuple Fields§
§0: Option<RegionCode>Trait Implementations§
Source§impl Clone for OptRegionArg
impl Clone for OptRegionArg
Source§fn clone(&self) -> OptRegionArg
fn clone(&self) -> OptRegionArg
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OptRegionArg
impl Debug for OptRegionArg
Source§impl FromStr for OptRegionArg
impl FromStr for OptRegionArg
Source§impl PartialEq for OptRegionArg
impl PartialEq for OptRegionArg
impl Copy for OptRegionArg
impl Eq for OptRegionArg
impl StructuralPartialEq for OptRegionArg
Auto Trait Implementations§
impl Freeze for OptRegionArg
impl RefUnwindSafe for OptRegionArg
impl Send for OptRegionArg
impl Sync for OptRegionArg
impl Unpin for OptRegionArg
impl UnwindSafe for OptRegionArg
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)