Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openstack_cli/src/object_store/v1/container/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ use openstack_sdk::api::{Pagination, paged};
pub struct ContainersCommand {
/// For an integer value n, limits the number of results to n.
#[arg(long)]
limit: Option<i32>,
limit: Option<u32>,

/// For a string value, x, constrains the list to items whose names are
/// greater than x.
Expand Down
2 changes: 1 addition & 1 deletion openstack_cli/src/object_store/v1/object/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pub struct ObjectsCommand {

/// For an integer value n, limits the number of results to n.
#[arg(long)]
limit: Option<i32>,
limit: Option<u32>,

/// For a string value, x, constrains the list to items whose names are
/// greater than x.
Expand Down
2 changes: 1 addition & 1 deletion openstack_sdk/src/api/object_store/v1/account/get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub struct Request<'a> {

/// For an integer value n, limits the number of results to n.
#[builder(default)]
limit: Option<i32>,
limit: Option<u32>,

/// For a string value, x, constrains the list to items whose names are
/// greater than x.
Expand Down
2 changes: 1 addition & 1 deletion openstack_sdk/src/api/object_store/v1/container/get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pub struct Request<'a> {

/// For an integer value n, limits the number of results to n.
#[builder(default)]
limit: Option<i32>,
limit: Option<u32>,

/// For a string value, x, constrains the list to items whose names are
/// greater than x.
Expand Down
4 changes: 2 additions & 2 deletions openstack_types/src/object_store/v1/account/response/get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ pub struct AccountResponse {
/// account.
#[serde(default)]
#[structable(optional)]
pub bytes: Option<i64>,
pub bytes: Option<u64>,

/// The number of objects in the container.
#[serde(default)]
#[structable(optional)]
pub count: Option<i64>,
pub count: Option<u32>,

/// Last modification date of the container
#[serde(default)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub struct ContainerResponse {
/// container.
#[serde(default)]
#[structable(optional)]
pub bytes: Option<i64>,
pub bytes: Option<u64>,

/// The content type of the object.
#[serde(default)]
Expand Down