pub struct RefLocation {
pub session: Option<Box<dyn TSession>>,
pub id: LocationId,
}Fields§
§session: Option<Box<dyn TSession>>§id: LocationIdTrait Implementations§
Source§impl Clone for RefLocation
impl Clone for RefLocation
Source§fn clone(&self) -> RefLocation
fn clone(&self) -> RefLocation
Returns a duplicate 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 RefLocation
impl Debug for RefLocation
Source§impl<'de> Deserialize<'de> for RefLocation
impl<'de> Deserialize<'de> for RefLocation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RefLocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RefLocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RefLocation
impl PartialEq for RefLocation
Source§impl Serialize for RefLocation
impl Serialize for RefLocation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for RefLocation
impl !RefUnwindSafe for RefLocation
impl !Send for RefLocation
impl !Sync for RefLocation
impl Unpin for RefLocation
impl !UnwindSafe for RefLocation
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