pub struct QuerySecurityResponseProto {
pub object_type: i32,
pub version: Option<VersionProto>,
pub query_security_input: Option<QuerySecurityRequestProto>,
pub security_response: Vec<SecurityProto>,
pub errors_or_warnings: Vec<SummaryProto>,
pub next_page_token: String,
}Fields§
§object_type: i32§version: Option<VersionProto>§query_security_input: Option<QuerySecurityRequestProto>The input that was provided for this request.
security_response: Vec<SecurityProto>The security (or securities) that was matched by this request.
errors_or_warnings: Vec<SummaryProto>Any errors or warnings related to this request
next_page_token: StringPaging (see docs/adr/query_paging.md). Opaque token for the next page;
pass it back as the request’s page_token. Empty = last page. For
streaming Search, only the final message of the stream carries it.
Old clients that ignore it get exactly today’s results.
Implementations§
Source§impl QuerySecurityResponseProto
impl QuerySecurityResponseProto
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 QuerySecurityResponseProto
impl Clone for QuerySecurityResponseProto
Source§impl Debug for QuerySecurityResponseProto
impl Debug for QuerySecurityResponseProto
Source§impl Default for QuerySecurityResponseProto
impl Default for QuerySecurityResponseProto
Source§impl Message for QuerySecurityResponseProto
impl Message for QuerySecurityResponseProto
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
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>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl ObjectTyped for QuerySecurityResponseProto
impl ObjectTyped for QuerySecurityResponseProto
Source§fn raw_object_type(&self) -> i32
fn raw_object_type(&self) -> i32
The raw
object_type number, which may be newer than this enum.fn version_proto(&self) -> Option<&VersionProto>
fn set_raw_object_type(&mut self, object_type: i32)
fn set_version_proto(&mut self, version: Option<VersionProto>)
Source§impl OwnObjectType for QuerySecurityResponseProto
impl OwnObjectType for QuerySecurityResponseProto
const OBJECT_TYPE: ObjectTypeProto = ObjectTypeProto::ObjectTypeQuerySecurityResponse
impl StructuralPartialEq for QuerySecurityResponseProto
Auto Trait Implementations§
impl Freeze for QuerySecurityResponseProto
impl RefUnwindSafe for QuerySecurityResponseProto
impl Send for QuerySecurityResponseProto
impl Sync for QuerySecurityResponseProto
impl Unpin for QuerySecurityResponseProto
impl UnsafeUnpin for QuerySecurityResponseProto
impl UnwindSafe for QuerySecurityResponseProto
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
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>
Wrap the input message
T in a tonic::Request