struct ToggleSettingIndicates if a specific toggle is enabled or not.
- 
                  
                  The internal name of the toggle. DeclarationSwift let toggleName: String
- 
                  
                  Indicates if the toggle is enabled or not. DeclarationSwift let enabled: Bool
- 
                  
                  Creates a new Struct instance using data read from the given TraitDecoder.Throws HomeError.parseErrorwhen parsing fails.DeclarationSwift init(decoder: TraitDecoder) throwsParametersdecoderThe raw data representing this Struct. 
- 
                  
                  Writes this Struct to the given TraitEncoder. ThrowsHomeError.parseErrorif the data could not be encoded.DeclarationSwift func encode(with encoder: TraitEncoder) throws
- 
                  
                  Returns the field corresponding to the given field ID. DeclarationSwift static func structField(id: UInt32) -> (any Field)?