ID returns the id value of the rule if it is set.
()
| 234 | |
| 235 | // ID returns the id value of the rule if it is set. |
| 236 | func (r *Rule) ID() ValueString { |
| 237 | if r.id != nil { |
| 238 | return *r.id |
| 239 | } |
| 240 | return ValueString{} |
| 241 | } |
| 242 | |
| 243 | // Description returns the rule description if it is set. |
| 244 | func (r *Rule) Description() ValueString { |
nothing calls this directly
no outgoing calls
no test coverage detected