pub struct BuildTargetCompile { /* private fields */ }Expand description
The run request is sent from the client to the server to run a build target. The server communicates during the initialize handshake whether this method is supported or not.
Implementations§
Source§impl BuildTargetCompile
impl BuildTargetCompile
pub fn new( target: BuildTargetIdentifier, origin_id: Option<String>, arguments: Option<String>, ) -> 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.
Trait Implementations§
Source§impl Clone for BuildTargetCompile
impl Clone for BuildTargetCompile
Source§fn clone(&self) -> BuildTargetCompile
fn clone(&self) -> BuildTargetCompile
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 BuildTargetCompile
impl Debug for BuildTargetCompile
Source§impl<'de> Deserialize<'de> for BuildTargetCompile
impl<'de> Deserialize<'de> for BuildTargetCompile
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 BuildTargetCompile
impl PartialEq for BuildTargetCompile
Source§impl Serialize for BuildTargetCompile
impl Serialize for BuildTargetCompile
impl Eq for BuildTargetCompile
impl StructuralPartialEq for BuildTargetCompile
Auto Trait Implementations§
impl Freeze for BuildTargetCompile
impl RefUnwindSafe for BuildTargetCompile
impl Send for BuildTargetCompile
impl Sync for BuildTargetCompile
impl Unpin for BuildTargetCompile
impl UnwindSafe for BuildTargetCompile
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