pub enum Region {
AwsNa,
AwsEu,
AwsAu,
AzureNa,
AzureEu,
GcpNa,
GcpEu,
}Expand description
Represents the geographical regions supported by the Contentstack API.
Variants§
Implementations§
Source§impl Region
impl Region
Sourcepub fn delivery_base_url(&self) -> &'static str
pub fn delivery_base_url(&self) -> &'static str
Returns the Delivery API (CDN) base URL for the current region.
Sourcepub fn management_base_url(&self) -> &'static str
pub fn management_base_url(&self) -> &'static str
Returns the Management API base URL for the current region.
Trait Implementations§
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 UnsafeUnpin 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