Versions in this module Expand all Collapse all v0 v0.7.1 Jan 17, 2024 v0.7.0 Jan 16, 2024 Changes in this version + func ObjectType() trv.ObjectType + type AffectedLocation struct + func (x *AffectedLocation) LocationSignature() *string + func (x *AffectedLocation) ShouldBeTrafficInformed() *bool + func (x *AffectedLocation) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Geometry struct + func (x *Geometry) SWEREF99TM() *string + func (x *Geometry) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Geometry) WGS84() *string + type ReasonCode struct + func (x *ReasonCode) Code() *string + func (x *ReasonCode) Description() *string + func (x *ReasonCode) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Response struct + Results []struct{ ... } + XMLName xml.Name + func (r Response) ErrorMsg() string + func (r Response) HasErrors() bool + type TrafficImpact struct + func (x *TrafficImpact) AffectedLocations() []AffectedLocation + func (x *TrafficImpact) FromLocations() []string + func (x *TrafficImpact) IsConfirmed() *bool + func (x *TrafficImpact) ToLocations() []string + func (x *TrafficImpact) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type TrainMessage struct + func (x *TrainMessage) Counties() []int + func (x *TrainMessage) Deleted() *bool + func (x *TrainMessage) EndDateTime() *time.Time + func (x *TrainMessage) EventID() *string + func (x *TrainMessage) ExternalDescription() *string + func (x *TrainMessage) Geometry() *Geometry + func (x *TrainMessage) Header() *string + func (x *TrainMessage) LastUpdateDateTime() *time.Time + func (x *TrainMessage) ModifiedTime() *time.Time + func (x *TrainMessage) PrognosticatedEndDateTimeTrafficImpact() *time.Time + func (x *TrainMessage) ReasonCodes() []ReasonCode + func (x *TrainMessage) StartDateTime() *time.Time + func (x *TrainMessage) TrafficImpact() []TrafficImpact + func (x *TrainMessage) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error