pub struct PriceLineOptions { /* private fields */ }Implementations§
Source§impl PriceLineOptions
impl PriceLineOptions
pub fn new(price: f64) -> PriceLineOptions
pub fn with_id(self, id: String) -> PriceLineOptions
pub fn with_color(self, color: String) -> PriceLineOptions
pub fn with_line_width(self, line_width: LineWidth) -> PriceLineOptions
pub fn with_line_style(self, line_style: LineStyle) -> PriceLineOptions
pub fn with_line_visible(self, line_visible: bool) -> PriceLineOptions
pub fn with_axis_label_visible( self, axis_label_visible: bool, ) -> PriceLineOptions
pub fn with_title(self, title: String) -> PriceLineOptions
pub fn with_axis_label_color(self, axis_label_color: String) -> PriceLineOptions
pub fn with_axis_label_text_color( self, axis_label_text_color: String, ) -> PriceLineOptions
Trait Implementations§
Source§impl Clone for PriceLineOptions
impl Clone for PriceLineOptions
Source§fn clone(&self) -> PriceLineOptions
fn clone(&self) -> PriceLineOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for PriceLineOptions
impl<'de> Deserialize<'de> for PriceLineOptions
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PriceLineOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PriceLineOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PriceLineOptions
impl Serialize for PriceLineOptions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for PriceLineOptions
impl RefUnwindSafe for PriceLineOptions
impl Send for PriceLineOptions
impl Sync for PriceLineOptions
impl Unpin for PriceLineOptions
impl UnsafeUnpin for PriceLineOptions
impl UnwindSafe for PriceLineOptions
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<T> FromFormData for Twhere
T: DeserializeOwned,
impl<T> FromFormData for Twhere
T: DeserializeOwned,
Source§fn from_event(ev: &Event) -> Result<T, FromFormDataError>
fn from_event(ev: &Event) -> Result<T, FromFormDataError>
Tries to deserialize the data, given only the
submit event.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> SerializableKey for T
impl<T> SerializableKey for T
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.