pub enum DeploymentSpace {
Global,
Luobu,
}
Expand description
Make sure that Global and Luobu deployments are distinctly different in the archive.
Variants§
Global
The main deployment space for global users. Unless you are developing an application for China/Luobu, you must use this channel.
Luobu
WARNING: Only use this channel if you are developing an application for Luobu! If global users launch a LuoBu application then their account will be disabled!
Use at own risk.
Implementations§
source§impl DeploymentSpace
impl DeploymentSpace
sourcepub fn get_roblox_domain(&self) -> &str
pub fn get_roblox_domain(&self) -> &str
Global and Luobu have completely separate APIs on different domains.
sourcepub fn get_cdn_domain(&self) -> &str
pub fn get_cdn_domain(&self) -> &str
Global and Luobu have separate CDNs.
sourcepub fn get_client_version_url(&self) -> String
pub fn get_client_version_url(&self) -> String
Quick utility for getting the client-version
API url based on deployment space.
Trait Implementations§
source§impl Clone for DeploymentSpace
impl Clone for DeploymentSpace
source§fn clone(&self) -> DeploymentSpace
fn clone(&self) -> DeploymentSpace
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 moresource§impl Debug for DeploymentSpace
impl Debug for DeploymentSpace
source§impl<'de> Deserialize<'de> for DeploymentSpace
impl<'de> Deserialize<'de> for DeploymentSpace
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for DeploymentSpace
impl Hash for DeploymentSpace
source§impl PartialEq<DeploymentSpace> for DeploymentSpace
impl PartialEq<DeploymentSpace> for DeploymentSpace
source§fn eq(&self, other: &DeploymentSpace) -> bool
fn eq(&self, other: &DeploymentSpace) -> bool
source§impl PartialOrd<DeploymentSpace> for DeploymentSpace
impl PartialOrd<DeploymentSpace> for DeploymentSpace
source§fn partial_cmp(&self, other: &DeploymentSpace) -> Option<Ordering>
fn partial_cmp(&self, other: &DeploymentSpace) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more