You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
struct UserLoginRes {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var code: Int32 {
get {return _storage._code}
set {_uniqueStorage()._code = newValue}
}
var message: String {
get {return _storage._message}
set {_uniqueStorage()._message = newValue}
}
var data: UserInfo {
get {return _storage._data ?? UserInfo()}
set {_uniqueStorage()._data = newValue}
}
/// Returns true if `data` has been explicitly set.
var hasData: Bool {return _storage._data != nil}
/// Clears the value of `data`. Subsequent reads from it will return its default value.
mutating func clearData() {_uniqueStorage()._data = nil}
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
fileprivate var _storage = _StorageClass.defaultInstance
}
Usage:
let realResp = try typeInfo(of: UserLoginRes.self)
Debug:
**Q: Can not find property "code" and "message"? Only "unknownFields" and "_storage"? **
The text was updated successfully, but these errors were encountered: