bug fixed
This commit is contained in:
parent
0c51ea8b76
commit
325e153101
|
@ -43,8 +43,8 @@ pub struct Pagination {
|
||||||
pub page_size: Option<u32>,
|
pub page_size: Option<u32>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<Pagination> for bpr::protobuf::pagination::Pagination {
|
impl From<&Pagination> for bpr::protobuf::pagination::Pagination {
|
||||||
fn from(d: Pagination) -> Self {
|
fn from(d: &Pagination) -> Self {
|
||||||
bpr::protobuf::pagination::Pagination {
|
bpr::protobuf::pagination::Pagination {
|
||||||
page: d.page,
|
page: d.page,
|
||||||
page_size: d.page_size,
|
page_size: d.page_size,
|
||||||
|
@ -52,8 +52,8 @@ impl From<Pagination> for bpr::protobuf::pagination::Pagination {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<bpr::protobuf::pagination::Pagination> for Pagination {
|
impl From<&bpr::protobuf::pagination::Pagination> for Pagination {
|
||||||
fn from(d: bpr::protobuf::pagination::Pagination) -> Self {
|
fn from(d: &bpr::protobuf::pagination::Pagination) -> Self {
|
||||||
Pagination {
|
Pagination {
|
||||||
page: d.page,
|
page: d.page,
|
||||||
page_size: d.page_size,
|
page_size: d.page_size,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user