pub struct AccessSettings {
pub whitelist: bool,
pub op_permission_level: u8,
pub function_permission_level: u8,
pub player_idle_timeout: u32,
pub enable_command_block: bool,
}Fields§
§whitelist: bool§op_permission_level: u8§function_permission_level: u8§player_idle_timeout: u32§enable_command_block: boolTrait Implementations§
Source§impl Clone for AccessSettings
impl Clone for AccessSettings
Source§fn clone(&self) -> AccessSettings
fn clone(&self) -> AccessSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccessSettings
impl Debug for AccessSettings
Source§impl<'de> Deserialize<'de> for AccessSettings
impl<'de> Deserialize<'de> for AccessSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AccessSettings
impl RefUnwindSafe for AccessSettings
impl Send for AccessSettings
impl Sync for AccessSettings
impl Unpin for AccessSettings
impl UnsafeUnpin for AccessSettings
impl UnwindSafe for AccessSettings
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