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 Deviation struct + func (x *Deviation) AffectedDirection() *string + func (x *Deviation) AffectedDirectionValue() *string + func (x *Deviation) Counties() []int + func (x *Deviation) CreationTime() *time.Time + func (x *Deviation) Creator() *string + func (x *Deviation) EndTime() *time.Time + func (x *Deviation) Geometry() *Geometry + func (x *Deviation) Header() *string + func (x *Deviation) ID() *string + func (x *Deviation) IconID() *string + func (x *Deviation) Images() []Image + func (x *Deviation) JourneyReference() *string + func (x *Deviation) LocationDescriptor() *string + func (x *Deviation) ManagedCause() *bool + func (x *Deviation) Message() *string + func (x *Deviation) MessageCode() *string + func (x *Deviation) MessageCodeValue() *string + func (x *Deviation) MessageType() *string + func (x *Deviation) MessageTypeValue() *string + func (x *Deviation) NumberOfLanesRestricted() *int + func (x *Deviation) PositionalDescription() *string + func (x *Deviation) RoadName() *string + func (x *Deviation) RoadNumber() *string + func (x *Deviation) RoadNumberNumeric() *int + func (x *Deviation) SafetyRelatedMessage() *bool + func (x *Deviation) Schedules() []Schedule + func (x *Deviation) SeverityCode() *int + func (x *Deviation) SeverityText() *string + func (x *Deviation) StartTime() *time.Time + func (x *Deviation) TemporaryLimit() *string + func (x *Deviation) TrafficRestrictionType() *string + func (x *Deviation) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Deviation) ValidUntilFurtherNotice() *bool + func (x *Deviation) VersionTime() *time.Time + func (x *Deviation) WebLink() *string + type GeoLine struct + func (x *GeoLine) SWEREF99TM() *string + func (x *GeoLine) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *GeoLine) WGS84() *string + type GeoPoint struct + func (x *GeoPoint) SWEREF99TM() *string + func (x *GeoPoint) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *GeoPoint) WGS84() *string + type Geometry struct + func (x *Geometry) Line() *GeoLine + func (x *Geometry) Point() *GeoPoint + func (x *Geometry) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Image struct + func (x *Image) HasFullSizePhoto() *bool + func (x *Image) URL() *string + func (x *Image) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type RecurringTimePeriodOfDay struct + func (x *RecurringTimePeriodOfDay) End() *string + func (x *RecurringTimePeriodOfDay) Start() *string + func (x *RecurringTimePeriodOfDay) 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 Schedule struct + func (x *Schedule) EndOfPeriod() *time.Time + func (x *Schedule) RecurringTimePeriodOfDays() []RecurringTimePeriodOfDay + func (x *Schedule) StartOfPeriod() *time.Time + func (x *Schedule) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Situation struct + func (x *Situation) CountryCode() *string + func (x *Situation) Deleted() *bool + func (x *Situation) Deviations() []Deviation + func (x *Situation) ID() *string + func (x *Situation) ModifiedTime() *time.Time + func (x *Situation) PublicationTime() *time.Time + func (x *Situation) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Situation) VersionTime() *time.Time