Enum gusto_api::RootDefaultServers
source · pub enum RootDefaultServers {
RootDemoServer(RootDemoServer),
RootProductionServer(RootProductionServer),
}
Variants§
RootDemoServer(RootDemoServer)
RootProductionServer(RootProductionServer)
Implementations§
source§impl RootDefaultServers
impl RootDefaultServers
pub fn default_url(&self) -> &str
Trait Implementations§
source§impl From<RootDemoServer> for RootDefaultServers
impl From<RootDemoServer> for RootDefaultServers
source§fn from(server: RootDemoServer) -> Self
fn from(server: RootDemoServer) -> Self
Converts to this type from the input type.
source§impl From<RootProductionServer> for RootDefaultServers
impl From<RootProductionServer> for RootDefaultServers
source§fn from(server: RootProductionServer) -> Self
fn from(server: RootProductionServer) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for RootDefaultServers
impl Send for RootDefaultServers
impl Sync for RootDefaultServers
impl Unpin for RootDefaultServers
impl UnwindSafe for RootDefaultServers
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