[][src]Struct plotly_types::traces::scattergeo::Stream

pub struct Stream<'a> { /* fields omitted */ }

Implementations

impl<'a> Stream<'a>[src]

pub fn token(&mut self, token: &'a str) -> &mut Self[src]

The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details.

pub fn maxpoints(&mut self, maxpoints: f64) -> &mut Self[src]

Sets the maximum number of points to keep on the plots from an incoming stream. If maxpoints is set to 50, only the newest 50 points will be displayed on the plot.

default: 500

Trait Implementations

impl<'a> Default for Stream<'a>[src]

impl<'a> Serialize for Stream<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Stream<'a>

impl<'a> Send for Stream<'a>

impl<'a> Sync for Stream<'a>

impl<'a> Unpin for Stream<'a>

impl<'a> UnwindSafe for Stream<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.