pub struct GotblocksSpec {
pub blocks: Vec<v3s16>,
}
Fields§
§blocks: Vec<v3s16>
Trait Implementations§
Source§impl Clone for GotblocksSpec
impl Clone for GotblocksSpec
Source§fn clone(&self) -> GotblocksSpec
fn clone(&self) -> GotblocksSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GotblocksSpec
impl Debug for GotblocksSpec
Source§impl Deserialize for GotblocksSpec
impl Deserialize for GotblocksSpec
Source§type Output = GotblocksSpec
type Output = GotblocksSpec
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl From<GotblocksSpec> for ToServerCommand
impl From<GotblocksSpec> for ToServerCommand
Source§fn from(value: GotblocksSpec) -> Self
fn from(value: GotblocksSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GotblocksSpec
impl PartialEq for GotblocksSpec
Source§impl Serialize for GotblocksSpec
impl Serialize for GotblocksSpec
type Input = GotblocksSpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for GotblocksSpec
Auto Trait Implementations§
impl Freeze for GotblocksSpec
impl RefUnwindSafe for GotblocksSpec
impl Send for GotblocksSpec
impl Sync for GotblocksSpec
impl Unpin for GotblocksSpec
impl UnwindSafe for GotblocksSpec
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