struct

Plombir::Content::Schema::FieldRule

Inherits Struct < Value < Object

One field rule: expected type plus whether the key must exist.

Constructors

new(type : String, required : Bool = false)
Source

Instance methods

required
Source
type
Source