pub struct VarState {
pub name: String,
pub data_type: DataType,
pub function_name: Option<String>,
pub class_name: Option<String>,
pub range: TextRange,
}
Expand description
Defines whatever we need to know of a variable in between workflow snippet calls.
Fields§
§name: String
The name of the variable.
data_type: DataType
The data type of this variable.
function_name: Option<String>
If this variable is a parameter in a function, then the function’s name is stored here.
class_name: Option<String>
If this variable is a property in a class, then the class’ name is stored here.
range: TextRange
The range that links this variable back to the source text.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VarState
impl RefUnwindSafe for VarState
impl Send for VarState
impl Sync for VarState
impl Unpin for VarState
impl UnwindSafe for VarState
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request