pub enum CallType {
Function {
component_info: Option<ComponentDependencyKey>,
instance_identifier: Option<Box<InstanceIdentifier>>,
function_name: DynamicParsedFunctionName,
},
VariantConstructor(String),
EnumConstructor(String),
InstanceCreation(InstanceCreationType),
}Variants§
Function
Fields
§
component_info: Option<ComponentDependencyKey>§
instance_identifier: Option<Box<InstanceIdentifier>>§
function_name: DynamicParsedFunctionNameVariantConstructor(String)
EnumConstructor(String)
InstanceCreation(InstanceCreationType)
Implementations§
Source§impl CallType
impl CallType
pub fn function_name(&self) -> Option<DynamicParsedFunctionName>
pub fn worker_expr(&self) -> Option<&Expr>
pub fn function_call( function: DynamicParsedFunctionName, component_info: Option<ComponentDependencyKey>, ) -> CallType
pub fn function_call_with_worker( module: InstanceIdentifier, function: DynamicParsedFunctionName, component_info: Option<ComponentDependencyKey>, ) -> CallType
pub fn is_resource_method(&self) -> bool
Trait Implementations§
Source§impl Ord for CallType
impl Ord for CallType
Source§impl PartialOrd for CallType
impl PartialOrd for CallType
impl Eq for CallType
impl StructuralPartialEq for CallType
Auto Trait Implementations§
impl Freeze for CallType
impl RefUnwindSafe for CallType
impl Send for CallType
impl Sync for CallType
impl Unpin for CallType
impl UnsafeUnpin for CallType
impl UnwindSafe for CallType
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.