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>§requiredtags: Vec<String>§excludedtags: Vec<String>§match_all_tags: Option<bool>§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>§required_kv_tags: Vec<KVTag>§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_tags: Option<bool>§return_kv_tags: 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

source

pub fn new() -> CPublishedFile_QueryFiles_Request

source

pub fn query_type(&self) -> u32

source

pub fn clear_query_type(&mut self)

source

pub fn has_query_type(&self) -> bool

source

pub fn set_query_type(&mut self, v: u32)

source

pub fn page(&self) -> u32

source

pub fn clear_page(&mut self)

source

pub fn has_page(&self) -> bool

source

pub fn set_page(&mut self, v: u32)

source

pub fn cursor(&self) -> &str

source

pub fn clear_cursor(&mut self)

source

pub fn has_cursor(&self) -> bool

source

pub fn set_cursor(&mut self, v: String)

source

pub fn mut_cursor(&mut self) -> &mut String

source

pub fn take_cursor(&mut self) -> String

source

pub fn numperpage(&self) -> u32

source

pub fn clear_numperpage(&mut self)

source

pub fn has_numperpage(&self) -> bool

source

pub fn set_numperpage(&mut self, v: u32)

source

pub fn creator_appid(&self) -> u32

source

pub fn clear_creator_appid(&mut self)

source

pub fn has_creator_appid(&self) -> bool

source

pub fn set_creator_appid(&mut self, v: u32)

source

pub fn appid(&self) -> u32

source

pub fn clear_appid(&mut self)

source

pub fn has_appid(&self) -> bool

source

pub fn set_appid(&mut self, v: u32)

source

pub fn match_all_tags(&self) -> bool

source

pub fn clear_match_all_tags(&mut self)

source

pub fn has_match_all_tags(&self) -> bool

source

pub fn set_match_all_tags(&mut self, v: bool)

source

pub fn search_text(&self) -> &str

source

pub fn clear_search_text(&mut self)

source

pub fn has_search_text(&self) -> bool

source

pub fn set_search_text(&mut self, v: String)

source

pub fn mut_search_text(&mut self) -> &mut String

source

pub fn take_search_text(&mut self) -> String

source

pub fn filetype(&self) -> u32

source

pub fn clear_filetype(&mut self)

source

pub fn has_filetype(&self) -> bool

source

pub fn set_filetype(&mut self, v: u32)

source

pub fn child_publishedfileid(&self) -> u64

source

pub fn clear_child_publishedfileid(&mut self)

source

pub fn has_child_publishedfileid(&self) -> bool

source

pub fn set_child_publishedfileid(&mut self, v: u64)

source

pub fn days(&self) -> u32

source

pub fn clear_days(&mut self)

source

pub fn has_days(&self) -> bool

source

pub fn set_days(&mut self, v: u32)

source

pub fn include_recent_votes_only(&self) -> bool

source

pub fn clear_include_recent_votes_only(&mut self)

source

pub fn has_include_recent_votes_only(&self) -> bool

source

pub fn set_include_recent_votes_only(&mut self, v: bool)

source

pub fn cache_max_age_seconds(&self) -> u32

source

pub fn clear_cache_max_age_seconds(&mut self)

source

pub fn has_cache_max_age_seconds(&self) -> bool

source

pub fn set_cache_max_age_seconds(&mut self, v: u32)

source

pub fn language(&self) -> i32

source

pub fn clear_language(&mut self)

source

pub fn has_language(&self) -> bool

source

pub fn set_language(&mut self, v: i32)

source

pub fn totalonly(&self) -> bool

source

pub fn clear_totalonly(&mut self)

source

pub fn has_totalonly(&self) -> bool

source

pub fn set_totalonly(&mut self, v: bool)

source

pub fn ids_only(&self) -> bool

source

pub fn clear_ids_only(&mut self)

source

pub fn has_ids_only(&self) -> bool

source

pub fn set_ids_only(&mut self, v: bool)

source

pub fn return_vote_data(&self) -> bool

source

pub fn clear_return_vote_data(&mut self)

source

pub fn has_return_vote_data(&self) -> bool

source

pub fn set_return_vote_data(&mut self, v: bool)

source

pub fn return_tags(&self) -> bool

source

pub fn clear_return_tags(&mut self)

source

pub fn has_return_tags(&self) -> bool

source

pub fn set_return_tags(&mut self, v: bool)

source

pub fn return_kv_tags(&self) -> bool

source

pub fn clear_return_kv_tags(&mut self)

source

pub fn has_return_kv_tags(&self) -> bool

source

pub fn set_return_kv_tags(&mut self, v: bool)

source

pub fn return_previews(&self) -> bool

source

pub fn clear_return_previews(&mut self)

source

pub fn has_return_previews(&self) -> bool

source

pub fn set_return_previews(&mut self, v: bool)

source

pub fn return_children(&self) -> bool

source

pub fn clear_return_children(&mut self)

source

pub fn has_return_children(&self) -> bool

source

pub fn set_return_children(&mut self, v: bool)

source

pub fn return_short_description(&self) -> bool

source

pub fn clear_return_short_description(&mut self)

source

pub fn has_return_short_description(&self) -> bool

source

pub fn set_return_short_description(&mut self, v: bool)

source

pub fn return_for_sale_data(&self) -> bool

source

pub fn clear_return_for_sale_data(&mut self)

source

pub fn has_return_for_sale_data(&self) -> bool

source

pub fn set_return_for_sale_data(&mut self, v: bool)

source

pub fn return_metadata(&self) -> bool

source

pub fn clear_return_metadata(&mut self)

source

pub fn has_return_metadata(&self) -> bool

source

pub fn set_return_metadata(&mut self, v: bool)

source

pub fn return_playtime_stats(&self) -> u32

source

pub fn clear_return_playtime_stats(&mut self)

source

pub fn has_return_playtime_stats(&self) -> bool

source

pub fn set_return_playtime_stats(&mut self, v: u32)

source

pub fn return_details(&self) -> bool

source

pub fn clear_return_details(&mut self)

source

pub fn has_return_details(&self) -> bool

source

pub fn set_return_details(&mut self, v: bool)

source

pub fn strip_description_bbcode(&self) -> bool

source

pub fn clear_strip_description_bbcode(&mut self)

source

pub fn has_strip_description_bbcode(&self) -> bool

source

pub fn set_strip_description_bbcode(&mut self, v: bool)

source

pub fn desired_revision(&self) -> EPublishedFileRevision

source

pub fn clear_desired_revision(&mut self)

source

pub fn has_desired_revision(&self) -> bool

source

pub fn set_desired_revision(&mut self, v: EPublishedFileRevision)

source

pub fn return_reactions(&self) -> bool

source

pub fn clear_return_reactions(&mut self)

source

pub fn has_return_reactions(&self) -> bool

source

pub fn set_return_reactions(&mut self, v: bool)

Trait Implementations§

source§

impl Clone for CPublishedFile_QueryFiles_Request

source§

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)

Performs copy-assignment from source. Read more
source§

impl Debug for CPublishedFile_QueryFiles_Request

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> Default for &'a CPublishedFile_QueryFiles_Request

source§

fn default() -> &'a CPublishedFile_QueryFiles_Request

Returns the “default value” for a type. Read more
source§

impl Default for CPublishedFile_QueryFiles_Request

source§

fn default() -> CPublishedFile_QueryFiles_Request

Returns the “default value” for a type. Read more
source§

impl Message for CPublishedFile_QueryFiles_Request

source§

const NAME: &'static str = "CPublishedFile_QueryFiles_Request"

Message name as specified in .proto file. Read more
source§

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<()>

Update this message object with fields read from given stream.
source§

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<()>

Write message to the stream. Read more
source§

fn special_fields(&self) -> &SpecialFields

Special fields (unknown fields and cached size).
source§

fn mut_special_fields(&mut self) -> &mut SpecialFields

Special fields (unknown fields and cached size).
source§

fn new() -> CPublishedFile_QueryFiles_Request

Create an empty message object. Read more
source§

fn clear(&mut self)

Reset all fields.
source§

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>

Parse message from stream.
source§

fn cached_size(&self) -> u32

Get size previously computed by compute_size. Read more
source§

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>

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>

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>

Update this message object with fields read from given stream.
source§

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_bytes(bytes: &[u8]) -> Result<Self, Error>

Parse message from byte array.
source§

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>

Check if all required fields of this object are initialized.
source§

fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), Error>

Write the message to the writer.
source§

fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), Error>

Write the message to bytes vec.
source§

fn write_to_bytes(&self) -> Result<Vec<u8>, Error>

Write the message to bytes vec. Read more
source§

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>

Write the message to the bytes vec, prepend the message with message length encoded as varint.
source§

fn unknown_fields(&self) -> &UnknownFields

Get a reference to unknown fields.
source§

fn mut_unknown_fields(&mut self) -> &mut UnknownFields

Get a mutable reference to unknown fields.
source§

impl PartialEq for CPublishedFile_QueryFiles_Request

source§

fn eq(&self, other: &CPublishedFile_QueryFiles_Request) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl RpcMessage for CPublishedFile_QueryFiles_Request

source§

fn parse(reader: &mut dyn Read) -> Result<Self>

source§

fn write(&self, writer: &mut dyn Write) -> Result<()>

source§

fn encode_size(&self) -> usize

source§

impl RpcMethod for CPublishedFile_QueryFiles_Request

source§

const METHOD_NAME: &'static str = "PublishedFile.QueryFiles#1"

§

type Response = CPublishedFile_QueryFiles_Response

source§

impl StructuralPartialEq for CPublishedFile_QueryFiles_Request

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.