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