[−][src]Enum netidx_protocols::view::Source
Variants
Variable(String)
Fields of Map
from: Vec<Source>
the sources we are mapping from
function: String
the name of the built-in 'Value -> Option Value' function that will be called each time the source produces a value. If the function returns None then no value will be produced by the source, otherwise the returned value will be produced. You must define the function in one of the scripts imported by the view. Note, if the wrapped source is a group, and the function is an aggregate function then it will operate on all the values (e.g. sum, mean, ewma, etc ...), otherwise it will operate on the first value in the group to update.
Trait Implementations
impl Clone for Source
[src]
impl Debug for Source
[src]
impl<'de> Deserialize<'de> for Source
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for Source
[src]
impl FromStr for Source
[src]
type Err = Error
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl PartialEq<Source> for Source
[src]
impl PartialOrd<Source> for Source
[src]
pub fn partial_cmp(&self, other: &Source) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Source) -> bool
[src]
pub fn le(&self, other: &Source) -> bool
[src]
pub fn gt(&self, other: &Source) -> bool
[src]
pub fn ge(&self, other: &Source) -> bool
[src]
impl Serialize for Source
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for Source
[src]
Auto Trait Implementations
impl RefUnwindSafe for Source
[src]
impl Send for Source
[src]
impl Sync for Source
[src]
impl Unpin for Source
[src]
impl UnwindSafe for Source
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,