Enum ambient_shared_types::urls::ServerSelector
source · pub enum ServerSelector<'a> {
Deployment(&'a str),
Package {
id: &'a str,
version: Option<&'a str>,
},
}
Variants§
Trait Implementations§
source§impl<'a> Clone for ServerSelector<'a>
impl<'a> Clone for ServerSelector<'a>
source§fn clone(&self) -> ServerSelector<'a>
fn clone(&self) -> ServerSelector<'a>
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<'a> Debug for ServerSelector<'a>
impl<'a> Debug for ServerSelector<'a>
source§impl Display for ServerSelector<'_>
impl Display for ServerSelector<'_>
source§impl<'a> PartialEq for ServerSelector<'a>
impl<'a> PartialEq for ServerSelector<'a>
source§fn eq(&self, other: &ServerSelector<'a>) -> bool
fn eq(&self, other: &ServerSelector<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Copy for ServerSelector<'a>
impl<'a> StructuralPartialEq for ServerSelector<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ServerSelector<'a>
impl<'a> Send for ServerSelector<'a>
impl<'a> Sync for ServerSelector<'a>
impl<'a> Unpin for ServerSelector<'a>
impl<'a> UnwindSafe for ServerSelector<'a>
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