pub struct SinkCallOptions {
pub properties: Vec<SinkObjectProperty>,
pub keys: Vec<String>,
pub keys_complete: bool,
}Expand description
Static metadata of the options object of a call whose options position the
extractor knows, attached to the command argument of the call (for example
child_process.spawn(command, args, options)). A call without an options
argument has empty, complete metadata.
Fields§
§properties: Vec<SinkObjectProperty>Static literal properties of the options object.
keys: Vec<String>Static top-level keys of the options object, including keys whose values are not literal.
keys_complete: boolWhether keys is complete. False when the options
argument is not an object literal, or has a spread or a computed key.
Trait Implementations§
Source§impl Clone for SinkCallOptions
impl Clone for SinkCallOptions
Source§impl Debug for SinkCallOptions
impl Debug for SinkCallOptions
impl<'__de> Decode<'__de> for SinkCallOptionswhere
'__de:,
Source§impl<'de> Deserialize<'de> for SinkCallOptions
impl<'de> Deserialize<'de> for SinkCallOptions
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
impl Encode for SinkCallOptions
impl Eq for SinkCallOptions
Source§impl PartialEq for SinkCallOptions
impl PartialEq for SinkCallOptions
Source§impl Serialize for SinkCallOptions
impl Serialize for SinkCallOptions
impl StructuralPartialEq for SinkCallOptions
Auto Trait Implementations§
impl Forget for SinkCallOptions
impl Freeze for SinkCallOptions
impl Move for SinkCallOptions
impl RefUnwindSafe for SinkCallOptions
impl Send for SinkCallOptions
impl Sync for SinkCallOptions
impl Unpin for SinkCallOptions
impl UnsafeUnpin for SinkCallOptions
impl UnwindSafe for SinkCallOptions
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,
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.