pub struct ServerGroup {
pub sgid: ServerGroupID,
pub name: String,
pub type: i32,
pub iconid: IconHash,
pub savedb: bool,
}
Expand description
Server Group returned from server_group_list
. Field names are according to the query protocol.
Fields§
§sgid: ServerGroupID
Identifier for this server group
name: String
§type: i32
Group type: template,regular,query
type
use r#type
to specify in rust
iconid: IconHash
§savedb: bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServerGroup
impl RefUnwindSafe for ServerGroup
impl Send for ServerGroup
impl Sync for ServerGroup
impl Unpin for ServerGroup
impl UnwindSafe for ServerGroup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more