Struct bsp_types::BuildTargetTest
source · [−]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
sourceimpl 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
sourceimpl Clone for BuildTargetTest
impl Clone for BuildTargetTest
sourcefn clone(&self) -> BuildTargetTest
fn clone(&self) -> BuildTargetTest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BuildTargetTest
impl Debug for BuildTargetTest
sourceimpl<'de> Deserialize<'de> for BuildTargetTest
impl<'de> Deserialize<'de> for BuildTargetTest
sourcefn 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
sourceimpl PartialEq<BuildTargetTest> for BuildTargetTest
impl PartialEq<BuildTargetTest> for BuildTargetTest
sourcefn eq(&self, other: &BuildTargetTest) -> bool
fn eq(&self, other: &BuildTargetTest) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &BuildTargetTest) -> bool
fn ne(&self, other: &BuildTargetTest) -> bool
This method tests for !=.
sourceimpl Serialize for BuildTargetTest
impl Serialize for BuildTargetTest
impl Eq for BuildTargetTest
impl StructuralEq for BuildTargetTest
impl StructuralPartialEq for BuildTargetTest
Auto Trait Implementations
impl RefUnwindSafe for BuildTargetTest
impl Send for BuildTargetTest
impl Sync for BuildTargetTest
impl Unpin for BuildTargetTest
impl UnwindSafe for BuildTargetTest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more