1
1
// This file was autogenerated by some hot garbage in the `uniffi` crate.
2
2
// Trust me, you don't want to mess with it!
3
+
4
+ // swiftlint:disable all
3
5
import Foundation
4
6
5
7
// Depending on the consumer's build setup, the low-level FFI code
@@ -473,44 +475,34 @@ public struct RoomPowerLevelChanges {
473
475
public init (
474
476
/**
475
477
* The level required to ban a user.
476
- */
477
- ban: Int64 ? = nil ,
478
+ */ban: Int64 ? = nil ,
478
479
/**
479
480
* The level required to invite a user.
480
- */
481
- invite: Int64 ? = nil ,
481
+ */invite: Int64 ? = nil ,
482
482
/**
483
483
* The level required to kick a user.
484
- */
485
- kick: Int64 ? = nil ,
484
+ */kick: Int64 ? = nil ,
486
485
/**
487
486
* The level required to redact an event.
488
- */
489
- redact: Int64 ? = nil ,
487
+ */redact: Int64 ? = nil ,
490
488
/**
491
489
* The default level required to send message events.
492
- */
493
- eventsDefault: Int64 ? = nil ,
490
+ */eventsDefault: Int64 ? = nil ,
494
491
/**
495
492
* The default level required to send state events.
496
- */
497
- stateDefault: Int64 ? = nil ,
493
+ */stateDefault: Int64 ? = nil ,
498
494
/**
499
495
* The default power level for every user in the room.
500
- */
501
- usersDefault: Int64 ? = nil ,
496
+ */usersDefault: Int64 ? = nil ,
502
497
/**
503
498
* The level required to change the room's name.
504
- */
505
- roomName: Int64 ? = nil ,
499
+ */roomName: Int64 ? = nil ,
506
500
/**
507
501
* The level required to change the room's avatar.
508
- */
509
- roomAvatar: Int64 ? = nil ,
502
+ */roomAvatar: Int64 ? = nil ,
510
503
/**
511
504
* The level required to change the room's topic.
512
- */
513
- roomTopic: Int64 ? = nil ) {
505
+ */roomTopic: Int64 ? = nil ) {
514
506
self . ban = ban
515
507
self . invite = invite
516
508
self . kick = kick
@@ -620,6 +612,7 @@ public func FfiConverterTypeRoomPowerLevelChanges_lower(_ value: RoomPowerLevelC
620
612
/**
621
613
* The role of a member in a room.
622
614
*/
615
+
623
616
public enum RoomMemberRole {
624
617
625
618
/**
@@ -636,6 +629,7 @@ public enum RoomMemberRole {
636
629
case user
637
630
}
638
631
632
+
639
633
public struct FfiConverterTypeRoomMemberRole : FfiConverterRustBuffer {
640
634
typealias SwiftType = RoomMemberRole
641
635
@@ -735,4 +729,6 @@ private func uniffiEnsureInitialized() {
735
729
case . apiChecksumMismatch:
736
730
fatalError ( " UniFFI API checksum mismatch: try cleaning and rebuilding your project " )
737
731
}
738
- }
732
+ }
733
+
734
+ // swiftlint:enable all
0 commit comments