#[non_exhaustive]pub struct ListHubContentVersionsInput {
pub hub_name: Option<String>,
pub hub_content_type: Option<HubContentType>,
pub hub_content_name: Option<String>,
pub min_version: Option<String>,
pub max_schema_version: Option<String>,
pub creation_time_before: Option<DateTime>,
pub creation_time_after: Option<DateTime>,
pub sort_by: Option<HubContentSortBy>,
pub sort_order: Option<SortOrder>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.hub_name: Option<String>
The name of the hub to list the content versions of.
hub_content_type: Option<HubContentType>
The type of hub content to list versions of.
hub_content_name: Option<String>
The name of the hub content.
min_version: Option<String>
The lower bound of the hub content versions to list.
max_schema_version: Option<String>
The upper bound of the hub content schema version.
creation_time_before: Option<DateTime>
Only list hub content versions that were created before the time specified.
creation_time_after: Option<DateTime>
Only list hub content versions that were created after the time specified.
sort_by: Option<HubContentSortBy>
Sort hub content versions by either name or creation time.
sort_order: Option<SortOrder>
Sort hub content versions by ascending or descending order.
max_results: Option<i32>
The maximum number of hub content versions to list.
next_token: Option<String>
If the response to a previous ListHubContentVersions
request was truncated, the response includes a NextToken
. To retrieve the next set of hub content versions, use the token in the next request.
Implementations§
source§impl ListHubContentVersionsInput
impl ListHubContentVersionsInput
sourcepub fn hub_content_type(&self) -> Option<&HubContentType>
pub fn hub_content_type(&self) -> Option<&HubContentType>
The type of hub content to list versions of.
sourcepub fn hub_content_name(&self) -> Option<&str>
pub fn hub_content_name(&self) -> Option<&str>
The name of the hub content.
sourcepub fn min_version(&self) -> Option<&str>
pub fn min_version(&self) -> Option<&str>
The lower bound of the hub content versions to list.
sourcepub fn max_schema_version(&self) -> Option<&str>
pub fn max_schema_version(&self) -> Option<&str>
The upper bound of the hub content schema version.
sourcepub fn creation_time_before(&self) -> Option<&DateTime>
pub fn creation_time_before(&self) -> Option<&DateTime>
Only list hub content versions that were created before the time specified.
sourcepub fn creation_time_after(&self) -> Option<&DateTime>
pub fn creation_time_after(&self) -> Option<&DateTime>
Only list hub content versions that were created after the time specified.
sourcepub fn sort_by(&self) -> Option<&HubContentSortBy>
pub fn sort_by(&self) -> Option<&HubContentSortBy>
Sort hub content versions by either name or creation time.
sourcepub fn sort_order(&self) -> Option<&SortOrder>
pub fn sort_order(&self) -> Option<&SortOrder>
Sort hub content versions by ascending or descending order.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of hub content versions to list.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the response to a previous ListHubContentVersions
request was truncated, the response includes a NextToken
. To retrieve the next set of hub content versions, use the token in the next request.
source§impl ListHubContentVersionsInput
impl ListHubContentVersionsInput
sourcepub fn builder() -> ListHubContentVersionsInputBuilder
pub fn builder() -> ListHubContentVersionsInputBuilder
Creates a new builder-style object to manufacture ListHubContentVersionsInput
.
Trait Implementations§
source§impl Clone for ListHubContentVersionsInput
impl Clone for ListHubContentVersionsInput
source§fn clone(&self) -> ListHubContentVersionsInput
fn clone(&self) -> ListHubContentVersionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListHubContentVersionsInput
impl Debug for ListHubContentVersionsInput
source§impl PartialEq for ListHubContentVersionsInput
impl PartialEq for ListHubContentVersionsInput
source§fn eq(&self, other: &ListHubContentVersionsInput) -> bool
fn eq(&self, other: &ListHubContentVersionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.