    struct LandmarkInfoStruct

The data from this structure indicates a landmark and device position relative to the
landmark.
- `


  ### [landmarkTag](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/LandmarkInfoStruct#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV18LandmarkInfoStructV11landmarkTags5UInt8Vvp)


  ` Indicates that the area is associated with a landmark. This field is the ID of a landmark
  semantic tag, located within the Common Landmark Namespace defined in the Matter
  specification.

  #### Declaration

  Swift

      let landmarkTag: UInt8

- `


  ### [relativePositionTag](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/LandmarkInfoStruct#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV18LandmarkInfoStructV19relativePositionTags5UInt8VSgvp)


  ` The position of the area relative to a landmark. This is a static description of a zone
  known to the server, and this field never reflects the device's own proximity or position
  relative to the landmark, but that of the zone. This field is the ID of a relative
  position semantic tag, located within the Common Relative Position Namespace defined in
  the Matter specification.

  #### Declaration

  Swift

      let relativePositionTag: UInt8?

- `


  ### [init(decoder:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/LandmarkInfoStruct#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV18LandmarkInfoStructV7decoderAG0aB3SDK0G7DecoderV_tKcfc)


  ` Creates a new Struct instance using data read from the given `TraitDecoder`.
  Throws
  `HomeError.parseError` when parsing fails.

  #### Declaration

  Swift

      init(decoder: TraitDecoder) throws

  #### Parameters

  |---|---|
  | ` decoder ` | The raw data representing this Struct. |

- `


  ### [encode(with:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/LandmarkInfoStruct#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV18LandmarkInfoStructV6encode4withy0aB3SDK0G7EncoderC_tKF)


  ` Writes this Struct to the given `TraitEncoder`.
  Throws `HomeError.parseError` if the data could not be encoded.

  #### Declaration

  Swift

      func encode(with encoder: TraitEncoder) throws

- `


  ### [structField(id:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/LandmarkInfoStruct#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV18LandmarkInfoStructV11structField2id0aB3SDK0L0_pSgs6UInt32V_tFZ)


  ` Returns the field corresponding to the given field ID.

  #### Declaration

  Swift

      static func structField(id: UInt32) -> (any Field)?