#[non_exhaustive]pub struct TerminalPointId {
pub value: String,
pub id: Option<Id>,
/* private fields */
}๐Deprecated
Expand description
Deprecated: TerminalPoints are no longer supported in Fleet Engine. Use
TerminalLocation.point instead.
Fields (Non-exhaustive)ยง
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.value: String๐Deprecated
Deprecated.
id: Option<Id>๐Deprecated
Deprecated.
Implementationsยง
Sourceยงimpl TerminalPointId
impl TerminalPointId
Sourcepub fn place_id(&self) -> Option<&String>
๐Deprecated
pub fn place_id(&self) -> Option<&String>
The value of id
if it holds a PlaceId, None if the field is not set or
holds a different branch.
Sourcepub fn set_place_id<T: Into<String>>(self, v: T) -> Self
๐Deprecated
pub fn set_place_id<T: Into<String>>(self, v: T) -> Self
Sourcepub fn generated_id(&self) -> Option<&String>
๐Deprecated
pub fn generated_id(&self) -> Option<&String>
The value of id
if it holds a GeneratedId, None if the field is not set or
holds a different branch.
Sourcepub fn set_generated_id<T: Into<String>>(self, v: T) -> Self
๐Deprecated
pub fn set_generated_id<T: Into<String>>(self, v: T) -> Self
Trait Implementationsยง
Sourceยงimpl Clone for TerminalPointId
impl Clone for TerminalPointId
Sourceยงfn clone(&self) -> TerminalPointId
fn clone(&self) -> TerminalPointId
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 TerminalPointId
impl Debug for TerminalPointId
Sourceยงimpl Default for TerminalPointId
impl Default for TerminalPointId
Sourceยงfn default() -> TerminalPointId
fn default() -> TerminalPointId
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl Message for TerminalPointId
impl Message for TerminalPointId
Sourceยงimpl PartialEq for TerminalPointId
impl PartialEq for TerminalPointId
impl StructuralPartialEq for TerminalPointId
Auto Trait Implementationsยง
impl Freeze for TerminalPointId
impl RefUnwindSafe for TerminalPointId
impl Send for TerminalPointId
impl Sync for TerminalPointId
impl Unpin for TerminalPointId
impl UnsafeUnpin for TerminalPointId
impl UnwindSafe for TerminalPointId
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