Struct steam_vent_proto::steammessages_publishedfile_steamclient::CPublishedFile_QueryFiles_Request
source · pub struct CPublishedFile_QueryFiles_Request {Show 39 fields
pub query_type: Option<u32>,
pub page: Option<u32>,
pub cursor: Option<String>,
pub numperpage: Option<u32>,
pub creator_appid: Option<u32>,
pub appid: Option<u32>,
pub requiredtags: Vec<String>,
pub excludedtags: Vec<String>,
pub match_all_tags: Option<bool>,
pub required_flags: Vec<String>,
pub omitted_flags: Vec<String>,
pub search_text: Option<String>,
pub filetype: Option<u32>,
pub child_publishedfileid: Option<u64>,
pub days: Option<u32>,
pub include_recent_votes_only: Option<bool>,
pub cache_max_age_seconds: Option<u32>,
pub language: Option<i32>,
pub required_kv_tags: Vec<KVTag>,
pub taggroups: Vec<TagGroup>,
pub date_range_created: MessageField<DateRange>,
pub date_range_updated: MessageField<DateRange>,
pub excluded_content_descriptors: Vec<EnumOrUnknown<EContentDescriptorID>>,
pub totalonly: Option<bool>,
pub ids_only: Option<bool>,
pub return_vote_data: Option<bool>,
pub return_tags: Option<bool>,
pub return_kv_tags: Option<bool>,
pub return_previews: Option<bool>,
pub return_children: Option<bool>,
pub return_short_description: Option<bool>,
pub return_for_sale_data: Option<bool>,
pub return_metadata: Option<bool>,
pub return_playtime_stats: Option<u32>,
pub return_details: Option<bool>,
pub strip_description_bbcode: Option<bool>,
pub desired_revision: Option<EnumOrUnknown<EPublishedFileRevision>>,
pub return_reactions: Option<bool>,
pub special_fields: SpecialFields,
}
Expand description
Performs a search query for published files
Fields§
§query_type: Option<u32>
§page: Option<u32>
§cursor: Option<String>
§numperpage: Option<u32>
§creator_appid: Option<u32>
§appid: Option<u32>
§required_flags: Vec<String>
§omitted_flags: Vec<String>
§search_text: Option<String>
§filetype: Option<u32>
§child_publishedfileid: Option<u64>
§days: Option<u32>
§include_recent_votes_only: Option<bool>
§cache_max_age_seconds: Option<u32>
§language: Option<i32>
§taggroups: Vec<TagGroup>
§date_range_created: MessageField<DateRange>
§date_range_updated: MessageField<DateRange>
§excluded_content_descriptors: Vec<EnumOrUnknown<EContentDescriptorID>>
§totalonly: Option<bool>
§ids_only: Option<bool>
§return_vote_data: Option<bool>
§return_previews: Option<bool>
§return_children: Option<bool>
§return_short_description: Option<bool>
§return_for_sale_data: Option<bool>
§return_metadata: Option<bool>
§return_playtime_stats: Option<u32>
§return_details: Option<bool>
§strip_description_bbcode: Option<bool>
§desired_revision: Option<EnumOrUnknown<EPublishedFileRevision>>
§return_reactions: Option<bool>
§special_fields: SpecialFields
Implementations§
source§impl CPublishedFile_QueryFiles_Request
impl CPublishedFile_QueryFiles_Request
pub fn new() -> CPublishedFile_QueryFiles_Request
pub fn query_type(&self) -> u32
pub fn clear_query_type(&mut self)
pub fn has_query_type(&self) -> bool
pub fn set_query_type(&mut self, v: u32)
pub fn page(&self) -> u32
pub fn clear_page(&mut self)
pub fn has_page(&self) -> bool
pub fn set_page(&mut self, v: u32)
pub fn cursor(&self) -> &str
pub fn clear_cursor(&mut self)
pub fn has_cursor(&self) -> bool
pub fn set_cursor(&mut self, v: String)
pub fn mut_cursor(&mut self) -> &mut String
pub fn take_cursor(&mut self) -> String
pub fn numperpage(&self) -> u32
pub fn clear_numperpage(&mut self)
pub fn has_numperpage(&self) -> bool
pub fn set_numperpage(&mut self, v: u32)
pub fn creator_appid(&self) -> u32
pub fn clear_creator_appid(&mut self)
pub fn has_creator_appid(&self) -> bool
pub fn set_creator_appid(&mut self, v: u32)
pub fn appid(&self) -> u32
pub fn clear_appid(&mut self)
pub fn has_appid(&self) -> bool
pub fn set_appid(&mut self, v: u32)
pub fn search_text(&self) -> &str
pub fn clear_search_text(&mut self)
pub fn has_search_text(&self) -> bool
pub fn set_search_text(&mut self, v: String)
pub fn mut_search_text(&mut self) -> &mut String
pub fn take_search_text(&mut self) -> String
pub fn filetype(&self) -> u32
pub fn clear_filetype(&mut self)
pub fn has_filetype(&self) -> bool
pub fn set_filetype(&mut self, v: u32)
pub fn child_publishedfileid(&self) -> u64
pub fn clear_child_publishedfileid(&mut self)
pub fn has_child_publishedfileid(&self) -> bool
pub fn set_child_publishedfileid(&mut self, v: u64)
pub fn days(&self) -> u32
pub fn clear_days(&mut self)
pub fn has_days(&self) -> bool
pub fn set_days(&mut self, v: u32)
pub fn include_recent_votes_only(&self) -> bool
pub fn clear_include_recent_votes_only(&mut self)
pub fn has_include_recent_votes_only(&self) -> bool
pub fn set_include_recent_votes_only(&mut self, v: bool)
pub fn cache_max_age_seconds(&self) -> u32
pub fn clear_cache_max_age_seconds(&mut self)
pub fn has_cache_max_age_seconds(&self) -> bool
pub fn set_cache_max_age_seconds(&mut self, v: u32)
pub fn language(&self) -> i32
pub fn clear_language(&mut self)
pub fn has_language(&self) -> bool
pub fn set_language(&mut self, v: i32)
pub fn totalonly(&self) -> bool
pub fn clear_totalonly(&mut self)
pub fn has_totalonly(&self) -> bool
pub fn set_totalonly(&mut self, v: bool)
pub fn ids_only(&self) -> bool
pub fn clear_ids_only(&mut self)
pub fn has_ids_only(&self) -> bool
pub fn set_ids_only(&mut self, v: bool)
pub fn return_vote_data(&self) -> bool
pub fn clear_return_vote_data(&mut self)
pub fn has_return_vote_data(&self) -> bool
pub fn set_return_vote_data(&mut self, v: bool)
pub fn return_previews(&self) -> bool
pub fn clear_return_previews(&mut self)
pub fn has_return_previews(&self) -> bool
pub fn set_return_previews(&mut self, v: bool)
pub fn return_children(&self) -> bool
pub fn clear_return_children(&mut self)
pub fn has_return_children(&self) -> bool
pub fn set_return_children(&mut self, v: bool)
pub fn return_short_description(&self) -> bool
pub fn clear_return_short_description(&mut self)
pub fn has_return_short_description(&self) -> bool
pub fn set_return_short_description(&mut self, v: bool)
pub fn return_for_sale_data(&self) -> bool
pub fn clear_return_for_sale_data(&mut self)
pub fn has_return_for_sale_data(&self) -> bool
pub fn set_return_for_sale_data(&mut self, v: bool)
pub fn return_metadata(&self) -> bool
pub fn clear_return_metadata(&mut self)
pub fn has_return_metadata(&self) -> bool
pub fn set_return_metadata(&mut self, v: bool)
pub fn return_playtime_stats(&self) -> u32
pub fn clear_return_playtime_stats(&mut self)
pub fn has_return_playtime_stats(&self) -> bool
pub fn set_return_playtime_stats(&mut self, v: u32)
pub fn return_details(&self) -> bool
pub fn clear_return_details(&mut self)
pub fn has_return_details(&self) -> bool
pub fn set_return_details(&mut self, v: bool)
pub fn strip_description_bbcode(&self) -> bool
pub fn clear_strip_description_bbcode(&mut self)
pub fn has_strip_description_bbcode(&self) -> bool
pub fn set_strip_description_bbcode(&mut self, v: bool)
pub fn desired_revision(&self) -> EPublishedFileRevision
pub fn clear_desired_revision(&mut self)
pub fn has_desired_revision(&self) -> bool
pub fn set_desired_revision(&mut self, v: EPublishedFileRevision)
pub fn return_reactions(&self) -> bool
pub fn clear_return_reactions(&mut self)
pub fn has_return_reactions(&self) -> bool
pub fn set_return_reactions(&mut self, v: bool)
Trait Implementations§
source§impl Clone for CPublishedFile_QueryFiles_Request
impl Clone for CPublishedFile_QueryFiles_Request
source§fn clone(&self) -> CPublishedFile_QueryFiles_Request
fn clone(&self) -> CPublishedFile_QueryFiles_Request
Returns a copy 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> Default for &'a CPublishedFile_QueryFiles_Request
impl<'a> Default for &'a CPublishedFile_QueryFiles_Request
source§fn default() -> &'a CPublishedFile_QueryFiles_Request
fn default() -> &'a CPublishedFile_QueryFiles_Request
Returns the “default value” for a type. Read more
source§impl Default for CPublishedFile_QueryFiles_Request
impl Default for CPublishedFile_QueryFiles_Request
source§fn default() -> CPublishedFile_QueryFiles_Request
fn default() -> CPublishedFile_QueryFiles_Request
Returns the “default value” for a type. Read more
source§impl Message for CPublishedFile_QueryFiles_Request
impl Message for CPublishedFile_QueryFiles_Request
source§const NAME: &'static str = "CPublishedFile_QueryFiles_Request"
const NAME: &'static str = "CPublishedFile_QueryFiles_Request"
Message name as specified in
.proto
file. Read moresource§fn is_initialized(&self) -> bool
fn is_initialized(&self) -> bool
True iff all required fields are initialized.
Always returns
true
for protobuf 3.source§fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> Result<()>
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> Result<()>
Update this message object with fields read from given stream.
source§fn compute_size(&self) -> u64
fn compute_size(&self) -> u64
Compute and cache size of this message and all nested messages. Read more
source§fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<()>
fn write_to_with_cached_sizes( &self, os: &mut CodedOutputStream<'_> ) -> Result<()>
Write message to the stream. Read more
source§fn special_fields(&self) -> &SpecialFields
fn special_fields(&self) -> &SpecialFields
Special fields (unknown fields and cached size).
source§fn mut_special_fields(&mut self) -> &mut SpecialFields
fn mut_special_fields(&mut self) -> &mut SpecialFields
Special fields (unknown fields and cached size).
source§fn new() -> CPublishedFile_QueryFiles_Request
fn new() -> CPublishedFile_QueryFiles_Request
Create an empty message object. Read more
source§fn default_instance() -> &'static CPublishedFile_QueryFiles_Request
fn default_instance() -> &'static CPublishedFile_QueryFiles_Request
Return a pointer to default immutable message with static lifetime. Read more
source§fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, Error>
fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, Error>
Parse message from stream.
source§fn cached_size(&self) -> u32
fn cached_size(&self) -> u32
Get size previously computed by
compute_size
. Read moresource§fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), Error>
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), Error>
Write the message to the stream. Read more
source§fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), Error>
fn write_length_delimited_to( &self, os: &mut CodedOutputStream<'_> ) -> Result<(), Error>
Write the message to the stream prepending the message with message length
encoded as varint.
source§fn write_length_delimited_to_vec(&self, vec: &mut Vec<u8>) -> Result<(), Error>
fn write_length_delimited_to_vec(&self, vec: &mut Vec<u8>) -> Result<(), Error>
Write the message to the vec, prepend the message with message length
encoded as varint.
source§fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>
Update this message object with fields read from given stream.
source§fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, Error>
fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, Error>
Parse message from reader.
Parse stops on EOF or when error encountered.
source§fn parse_from_tokio_bytes(bytes: &Bytes) -> Result<Self, Error>
fn parse_from_tokio_bytes(bytes: &Bytes) -> Result<Self, Error>
Parse message from
Bytes
object.
Resulting message may share references to the passed bytes object.source§fn check_initialized(&self) -> Result<(), Error>
fn check_initialized(&self) -> Result<(), Error>
Check if all required fields of this object are initialized.
source§fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), Error>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), Error>
Write the message to the writer.
source§fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), Error>
fn write_length_delimited_to_writer( &self, w: &mut dyn Write ) -> Result<(), Error>
Write the message to the writer, prepend the message with message length
encoded as varint.
source§fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, Error>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, Error>
Write the message to the bytes vec, prepend the message with message length
encoded as varint.
source§fn unknown_fields(&self) -> &UnknownFields
fn unknown_fields(&self) -> &UnknownFields
Get a reference to unknown fields.
source§fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
Get a mutable reference to unknown fields.
source§impl PartialEq for CPublishedFile_QueryFiles_Request
impl PartialEq for CPublishedFile_QueryFiles_Request
source§fn eq(&self, other: &CPublishedFile_QueryFiles_Request) -> bool
fn eq(&self, other: &CPublishedFile_QueryFiles_Request) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RpcMethod for CPublishedFile_QueryFiles_Request
impl RpcMethod for CPublishedFile_QueryFiles_Request
const METHOD_NAME: &'static str = "PublishedFile.QueryFiles#1"
type Response = CPublishedFile_QueryFiles_Response
impl StructuralPartialEq for CPublishedFile_QueryFiles_Request
Auto Trait Implementations§
impl !Freeze for CPublishedFile_QueryFiles_Request
impl RefUnwindSafe for CPublishedFile_QueryFiles_Request
impl Send for CPublishedFile_QueryFiles_Request
impl Sync for CPublishedFile_QueryFiles_Request
impl Unpin for CPublishedFile_QueryFiles_Request
impl UnwindSafe for CPublishedFile_QueryFiles_Request
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