pub enum LocationId {
NetworkLocation(NeloId),
ControllableResource(SrId),
}Expand description
Either a network location ID or a controllable resource ID.
Variants§
Trait Implementations§
Source§impl Clone for LocationId
impl Clone for LocationId
Source§fn clone(&self) -> LocationId
fn clone(&self) -> LocationId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LocationId
impl Debug for LocationId
Source§impl<'de> Deserialize<'de> for LocationId
impl<'de> Deserialize<'de> for LocationId
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 Display for LocationId
impl Display for LocationId
impl Eq for LocationId
Source§impl Hash for LocationId
impl Hash for LocationId
Source§impl PartialEq for LocationId
impl PartialEq for LocationId
Source§fn eq(&self, other: &LocationId) -> bool
fn eq(&self, other: &LocationId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LocationId
impl Serialize for LocationId
impl StructuralPartialEq for LocationId
Auto Trait Implementations§
impl Freeze for LocationId
impl RefUnwindSafe for LocationId
impl Send for LocationId
impl Sync for LocationId
impl Unpin for LocationId
impl UnsafeUnpin for LocationId
impl UnwindSafe for LocationId
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