pub struct TurnRestrictionDraft {
pub from: String,
pub via: Coord,
pub via_key: Option<JunctionKey>,
pub to: String,
pub rule: TurnRestrictionRule,
pub provenance: Provenance,
}Fields§
§from: String§via: Coord§via_key: Option<JunctionKey>§to: String§rule: TurnRestrictionRule§provenance: ProvenanceTrait Implementations§
Source§impl Clone for TurnRestrictionDraft
impl Clone for TurnRestrictionDraft
Source§fn clone(&self) -> TurnRestrictionDraft
fn clone(&self) -> TurnRestrictionDraft
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 TurnRestrictionDraft
impl Debug for TurnRestrictionDraft
Source§impl<'de> Deserialize<'de> for TurnRestrictionDraft
impl<'de> Deserialize<'de> for TurnRestrictionDraft
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 TurnRestrictionDraft
impl PartialEq for TurnRestrictionDraft
Source§impl Serialize for TurnRestrictionDraft
impl Serialize for TurnRestrictionDraft
impl StructuralPartialEq for TurnRestrictionDraft
Auto Trait Implementations§
impl Freeze for TurnRestrictionDraft
impl RefUnwindSafe for TurnRestrictionDraft
impl Send for TurnRestrictionDraft
impl Sync for TurnRestrictionDraft
impl Unpin for TurnRestrictionDraft
impl UnsafeUnpin for TurnRestrictionDraft
impl UnwindSafe for TurnRestrictionDraft
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