pub struct QuerySecurityRequestProto {Show 13 fields
pub object_class: String,
pub version: String,
pub object_type: i32,
pub version_major: u32,
pub version_minor: u32,
pub version_patch: u32,
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: Stringversion: Stringobject_type: i32Compact form of object_class / version (LM-297). Writers set both in stage 1.
version_major: u32§version_minor: u32§version_patch: u32§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.
Implementations§
Source§impl QuerySecurityRequestProto
impl QuerySecurityRequestProto
Sourcepub fn object_type(&self) -> ObjectTypeProto
pub fn object_type(&self) -> ObjectTypeProto
Returns the enum value of object_type, or the default if the field is set to an invalid enum value.
Sourcepub fn set_object_type(&mut self, value: ObjectTypeProto)
pub fn set_object_type(&mut self, value: ObjectTypeProto)
Sets object_type to the provided enum value.
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.Source§impl ObjectTyped for QuerySecurityRequestProto
impl ObjectTyped for QuerySecurityRequestProto
fn message_name(&self) -> &'static str
fn legacy_object_class(&self) -> &str
fn legacy_version(&self) -> &str
fn set_legacy(&mut self, object_class: String, version: String)
Source§fn compact_type(&self) -> i32
fn compact_type(&self) -> i32
object_type number, which may be newer than this enum.fn compact_version(&self) -> Version
fn set_compact_type(&mut self, object_type: i32)
fn set_compact_version(&mut self, (major, minor, patch): Version)
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