Struct code_blocks_server::MoveBlockArgs
source · pub struct MoveBlockArgs {
pub queries: Vec<String>,
pub text: String,
pub language: SupportedLanguage,
pub src_block: BlockLocation,
pub dst_block: BlockLocation,
}
Fields§
§queries: Vec<String>
§text: String
§language: SupportedLanguage
§src_block: BlockLocation
§dst_block: BlockLocation
Implementations§
source§impl MoveBlockArgs
impl MoveBlockArgs
pub fn get_language(&self) -> Language
Trait Implementations§
source§impl Clone for MoveBlockArgs
impl Clone for MoveBlockArgs
source§fn clone(&self) -> MoveBlockArgs
fn clone(&self) -> MoveBlockArgs
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 MoveBlockArgs
impl Debug for MoveBlockArgs
source§impl<'de> Deserialize<'de> for MoveBlockArgs
impl<'de> Deserialize<'de> for MoveBlockArgs
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 MoveBlockArgs
impl Hash for MoveBlockArgs
source§impl PartialEq<MoveBlockArgs> for MoveBlockArgs
impl PartialEq<MoveBlockArgs> for MoveBlockArgs
source§fn eq(&self, other: &MoveBlockArgs) -> bool
fn eq(&self, other: &MoveBlockArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.