Struct code_blocks_server::MoveItemArgs
source · pub struct MoveItemArgs {
pub item_types: Vec<String>,
pub src_item: BlockLocation,
pub dst_item: BlockLocation,
pub content: String,
pub language: SupportedLanguage,
}
Fields§
§item_types: Vec<String>
§src_item: BlockLocation
§dst_item: BlockLocation
§content: String
§language: SupportedLanguage
Implementations§
source§impl MoveItemArgs
impl MoveItemArgs
pub fn get_language(&self) -> Language
Trait Implementations§
source§impl Clone for MoveItemArgs
impl Clone for MoveItemArgs
source§fn clone(&self) -> MoveItemArgs
fn clone(&self) -> MoveItemArgs
Returns a copy 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 MoveItemArgs
impl Debug for MoveItemArgs
source§impl<'de> Deserialize<'de> for MoveItemArgs
impl<'de> Deserialize<'de> for MoveItemArgs
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
source§impl Hash for MoveItemArgs
impl Hash for MoveItemArgs
source§impl PartialEq<MoveItemArgs> for MoveItemArgs
impl PartialEq<MoveItemArgs> for MoveItemArgs
source§fn eq(&self, other: &MoveItemArgs) -> bool
fn eq(&self, other: &MoveItemArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MoveItemArgs
impl Serialize for MoveItemArgs
impl Eq for MoveItemArgs
impl StructuralEq for MoveItemArgs
impl StructuralPartialEq for MoveItemArgs
Auto Trait Implementations§
impl RefUnwindSafe for MoveItemArgs
impl Send for MoveItemArgs
impl Sync for MoveItemArgs
impl Unpin for MoveItemArgs
impl UnwindSafe for MoveItemArgs
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
§fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self
into a collection.