pub enum Region {
Show 19 variants
ApGuangzhou,
ApBeijing,
ApNanjing,
ApShanghai,
ApChengdu,
ApChongqing,
ApHongkong,
ApShanghaiFsi,
ApShenzhenFsi,
ApSingapore,
ApBangkok,
ApTokyo,
ApSeoul,
ApMumbai,
EuFrankfurt,
EuMoscow,
NaSiliconvalley,
NaAshburn,
NaToronto,
}Expand description
腾讯云服务地域
该枚举定义了腾讯云支持的所有地域,用于指定 X-TC-Region 请求头。
与官方 SDK 保持一致。
§国内地域
ApGuangzhou- 广州(默认)ApBeijing- 北京ApNanjing- 南京ApShanghai- 上海ApChengdu- 成都ApChongqing- 重庆ApHongkong- 香港
§金融地域
金融地域与普通地域隔离,使用 Endpoint::Region 时会自动使用金融区域名。
ApShanghaiFsi- 上海金融ApShenzhenFsi- 深圳金融
§国际地域
ApSingapore- 新加坡ApBangkok- 曼谷ApTokyo- 东京ApSeoul- 首尔ApMumbai- 孟买EuFrankfurt- 法兰克福EuMoscow- 莫斯科NaSiliconvalley- 硅谷NaAshburn- 弗吉尼亚NaToronto- 多伦多
Variants§
ApGuangzhou
广州(默认)
ApBeijing
北京
ApNanjing
南京
ApShanghai
上海
ApChengdu
成都
ApChongqing
重庆
ApHongkong
香港
ApShanghaiFsi
上海金融
ApShenzhenFsi
深圳金融
ApSingapore
新加坡
ApBangkok
曼谷
ApTokyo
东京
ApSeoul
首尔
ApMumbai
孟买
EuFrankfurt
法兰克福
EuMoscow
莫斯科
NaSiliconvalley
硅谷
NaAshburn
弗吉尼亚
NaToronto
多伦多
Implementations§
Trait Implementations§
impl Copy for Region
impl Eq for Region
impl StructuralPartialEq for Region
Auto Trait Implementations§
impl Freeze for Region
impl RefUnwindSafe for Region
impl Send for Region
impl Sync for Region
impl Unpin for Region
impl UnwindSafe for Region
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