pub struct SecurityRef<'a> {
pub market: i32,
pub code: &'a str,
}Expand description
轻量 Security 引用 (避免 caller 必须用 prost-generated 类型)。
Fields§
§market: i32§code: &'a strImplementations§
Trait Implementations§
Source§impl<'a> Clone for SecurityRef<'a>
impl<'a> Clone for SecurityRef<'a>
Source§fn clone(&self) -> SecurityRef<'a>
fn clone(&self) -> SecurityRef<'a>
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<'a> Debug for SecurityRef<'a>
impl<'a> Debug for SecurityRef<'a>
impl<'a> Copy for SecurityRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for SecurityRef<'a>
impl<'a> RefUnwindSafe for SecurityRef<'a>
impl<'a> Send for SecurityRef<'a>
impl<'a> Sync for SecurityRef<'a>
impl<'a> Unpin for SecurityRef<'a>
impl<'a> UnsafeUnpin for SecurityRef<'a>
impl<'a> UnwindSafe for SecurityRef<'a>
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