Struct fxoanda_definitions::ClientExtensions
source · pub struct ClientExtensions {
pub comment: Option<String>,
pub tag: Option<String>,
pub id: Option<String>,
}
Fields§
§comment: Option<String>
A comment associated with the Order/Trade
tag: Option<String>
A tag associated with the Order/Trade
id: Option<String>
The Client ID of the Order/Trade
Implementations§
source§impl ClientExtensions
impl ClientExtensions
pub fn new() -> ClientExtensions
sourcepub fn with_comment(self, x: String) -> Self
pub fn with_comment(self, x: String) -> Self
A comment associated with the Order/Trade
- param String
- return ClientExtensions
Trait Implementations§
source§impl Debug for ClientExtensions
impl Debug for ClientExtensions
source§impl<'de> Deserialize<'de> for ClientExtensions
impl<'de> Deserialize<'de> for ClientExtensions
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
Auto Trait Implementations§
impl Freeze for ClientExtensions
impl RefUnwindSafe for ClientExtensions
impl Send for ClientExtensions
impl Sync for ClientExtensions
impl Unpin for ClientExtensions
impl UnwindSafe for ClientExtensions
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