pub struct PointOfInterestRef {
pub object_type: String,
pub point_of_interest_ref: String,
}Expand description
PointOfInterestRef : Reference to a Point of Interest. Provided by OJP.
Fields§
§object_type: StringAttribute is used as discriminator for inheritance between data types.
point_of_interest_ref: StringImplementations§
Source§impl PointOfInterestRef
impl PointOfInterestRef
Sourcepub fn new(
object_type: String,
point_of_interest_ref: String,
) -> PointOfInterestRef
pub fn new( object_type: String, point_of_interest_ref: String, ) -> PointOfInterestRef
Reference to a Point of Interest. Provided by OJP.
Trait Implementations§
Source§impl Clone for PointOfInterestRef
impl Clone for PointOfInterestRef
Source§fn clone(&self) -> PointOfInterestRef
fn clone(&self) -> PointOfInterestRef
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 PointOfInterestRef
impl Debug for PointOfInterestRef
Source§impl Default for PointOfInterestRef
impl Default for PointOfInterestRef
Source§fn default() -> PointOfInterestRef
fn default() -> PointOfInterestRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PointOfInterestRef
impl<'de> Deserialize<'de> for PointOfInterestRef
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 PartialEq for PointOfInterestRef
impl PartialEq for PointOfInterestRef
Source§impl Serialize for PointOfInterestRef
impl Serialize for PointOfInterestRef
impl StructuralPartialEq for PointOfInterestRef
Auto Trait Implementations§
impl Freeze for PointOfInterestRef
impl RefUnwindSafe for PointOfInterestRef
impl Send for PointOfInterestRef
impl Sync for PointOfInterestRef
impl Unpin for PointOfInterestRef
impl UnwindSafe for PointOfInterestRef
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