pub struct QuerySecurityRequestProto {
pub object_class: String,
pub version: String,
pub uu_ids: Vec<UuidProto>,
pub search_security_input: Option<PositionFilterProto>,
pub as_of: Option<LocalTimestampProto>,
pub name_filter: String,
pub lookthrough: bool,
pub limit: i32,
pub page_token: String,
}Expand description
A request to allow clients to find existing securities.
Fields§
§object_class: String§version: String§uu_ids: Vec<UuidProto>The list of UUIds to return
search_security_input: Option<PositionFilterProto>A list of position filters that will filter securities that match.
as_of: Option<LocalTimestampProto>§name_filter: StringCase-insensitive substring match on security name (issuer) or identifier (e.g. ticker). Empty string means no filter (return all).
lookthrough: boolWhen true, the server populates IndexDetailsProto.constituents on returned index securities (productType=*_INDEX) by running its registered resolver against the request asOf. Default false: index securities are returned without constituents (back-compat). Added per second-brain#268.
limit: i32Paging (see docs/adr/query_paging.md). Max records returned in this
response: the page size the client asks for. Unset or 0 = no client page
cap; the server keeps today’s behaviour for this RPC. The server may cap
limit and return fewer items; fewer items does not mean last page, only
an empty next_page_token does. For streaming Search, limit caps the
total items across the whole stream. Clients that set neither limit nor
page_token get exactly today’s results.
page_token: StringPaging (see docs/adr/query_paging.md). Opaque token copied from a
previous response’s next_page_token. Unset or empty = first page.
Clients must not parse or build tokens; send the other request fields
unchanged across pages. Clients that set neither limit nor
page_token get exactly today’s results.
Trait Implementations§
Source§impl Clone for QuerySecurityRequestProto
impl Clone for QuerySecurityRequestProto
Source§impl Debug for QuerySecurityRequestProto
impl Debug for QuerySecurityRequestProto
Source§impl Default for QuerySecurityRequestProto
impl Default for QuerySecurityRequestProto
Source§impl Message for QuerySecurityRequestProto
impl Message for QuerySecurityRequestProto
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self.impl StructuralPartialEq for QuerySecurityRequestProto
Auto Trait Implementations§
impl Freeze for QuerySecurityRequestProto
impl RefUnwindSafe for QuerySecurityRequestProto
impl Send for QuerySecurityRequestProto
impl Sync for QuerySecurityRequestProto
impl Unpin for QuerySecurityRequestProto
impl UnsafeUnpin for QuerySecurityRequestProto
impl UnwindSafe for QuerySecurityRequestProto
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request