pub struct BuildTargetTest { /* private fields */ }Expand description
The test build target request is sent from the client to the server to test the given list of build targets. The server communicates during the initialize handshake whether this method is supported or not.
Implementations§
Source§impl BuildTargetTest
impl BuildTargetTest
pub fn new( target: BuildTargetIdentifier, origin_id: Option<String>, arguments: Option<String>, data_kind: Option<String>, data: Option<Value>, ) -> Self
pub fn new_simple(target: BuildTargetIdentifier) -> Self
Sourcepub fn target(&self) -> &BuildTargetIdentifier
pub fn target(&self) -> &BuildTargetIdentifier
Get a reference to the bsp btrun params’s target.
Sourcepub fn set_target(&mut self, target: BuildTargetIdentifier)
pub fn set_target(&mut self, target: BuildTargetIdentifier)
Set the bsp btrun params’s target.
Sourcepub fn origin_id(&self) -> Option<&String>
pub fn origin_id(&self) -> Option<&String>
Get a reference to the bsp btrun params’s origin id.
Sourcepub fn set_origin_id(&mut self, origin_id: Option<String>)
pub fn set_origin_id(&mut self, origin_id: Option<String>)
Set the bsp btrun params’s origin id.
Sourcepub fn arguments(&self) -> Option<&String>
pub fn arguments(&self) -> Option<&String>
Get a reference to the bsp btrun params’s arguments.
Sourcepub fn set_arguments(&mut self, arguments: Option<String>)
pub fn set_arguments(&mut self, arguments: Option<String>)
Set the bsp btrun params’s arguments.
Sourcepub fn data_kind(&self) -> Option<&String>
pub fn data_kind(&self) -> Option<&String>
Get a reference to the bsp btrun params’s data kind.
Sourcepub fn set_data_kind(&mut self, data_kind: Option<String>)
pub fn set_data_kind(&mut self, data_kind: Option<String>)
Set the bsp btrun params’s data kind.
Trait Implementations§
Source§impl Clone for BuildTargetTest
impl Clone for BuildTargetTest
Source§fn clone(&self) -> BuildTargetTest
fn clone(&self) -> BuildTargetTest
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 BuildTargetTest
impl Debug for BuildTargetTest
Source§impl<'de> Deserialize<'de> for BuildTargetTest
impl<'de> Deserialize<'de> for BuildTargetTest
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 PartialEq for BuildTargetTest
impl PartialEq for BuildTargetTest
Source§impl Serialize for BuildTargetTest
impl Serialize for BuildTargetTest
impl Eq for BuildTargetTest
impl StructuralPartialEq for BuildTargetTest
Auto Trait Implementations§
impl Freeze for BuildTargetTest
impl RefUnwindSafe for BuildTargetTest
impl Send for BuildTargetTest
impl Sync for BuildTargetTest
impl Unpin for BuildTargetTest
impl UnwindSafe for BuildTargetTest
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