[−][src]Struct pt::models::Symbol
Implementations
impl Symbol
[src]
pub fn new(
symbol: String,
name: String,
_type: String,
url: String,
updated: String,
is_otc: bool
) -> Symbol
[src]
symbol: String,
name: String,
_type: String,
url: String,
updated: String,
is_otc: bool
) -> Symbol
pub fn set_symbol(&mut self, symbol: String)
[src]
pub fn with_symbol(self, symbol: String) -> Symbol
[src]
pub fn symbol(&self) -> &String
[src]
pub fn set_name(&mut self, name: String)
[src]
pub fn with_name(self, name: String) -> Symbol
[src]
pub fn name(&self) -> &String
[src]
pub fn set__type(&mut self, _type: String)
[src]
pub fn with__type(self, _type: String) -> Symbol
[src]
pub fn _type(&self) -> &String
[src]
pub fn set_url(&mut self, url: String)
[src]
pub fn with_url(self, url: String) -> Symbol
[src]
pub fn url(&self) -> &String
[src]
pub fn set_updated(&mut self, updated: String)
[src]
pub fn with_updated(self, updated: String) -> Symbol
[src]
pub fn updated(&self) -> &String
[src]
pub fn set_is_otc(&mut self, is_otc: bool)
[src]
pub fn with_is_otc(self, is_otc: bool) -> Symbol
[src]
pub fn is_otc(&self) -> &bool
[src]
Trait Implementations
impl Clone for Symbol
[src]
impl Debug for Symbol
[src]
impl<'de> Deserialize<'de> for Symbol
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Symbol
[src]
Auto Trait Implementations
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnwindSafe for Symbol
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,
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> 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.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,