struct Murcure::Protos::ACL::ChanACL
- Murcure::Protos::ACL::ChanACL
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
murcure/utils/protos.crConstant Summary
-
FIELDS =
{1 => {name: :apply_here, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: true, packed: false}, 2 => {name: :apply_subs, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: true, packed: false}, 3 => {name: :inherited, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: true, packed: false}, 4 => {name: :user_id, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :group, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :grant, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :deny, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(apply_here : Bool | Nil = true.as(Bool), apply_subs : Bool | Nil = true.as(Bool), inherited : Bool | Nil = true.as(Bool), user_id : UInt32 | Nil = nil, group : String | Nil = nil, grant : UInt32 | Nil = nil, deny : UInt32 | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #apply_here : Bool | Nil
- #apply_here=(apply_here : Bool | Nil)
- #apply_subs : Bool | Nil
- #apply_subs=(apply_subs : Bool | Nil)
- #deny : UInt32 | Nil
- #deny=(deny : UInt32 | Nil)
- #grant : UInt32 | Nil
- #grant=(grant : UInt32 | Nil)
- #group : String | Nil
- #group=(group : String | Nil)
- #inherited : Bool | Nil
- #inherited=(inherited : Bool | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #user_id : UInt32 | Nil
- #user_id=(user_id : UInt32 | Nil)
Constructor Detail
def self.new(apply_here : Bool | Nil = true.as(Bool), apply_subs : Bool | Nil = true.as(Bool), inherited : Bool | Nil = true.as(Bool), user_id : UInt32 | Nil = nil, group : String | Nil = nil, grant : UInt32 | Nil = nil, deny : UInt32 | Nil = nil)
#