make members of address public
This commit is contained in:
parent
6e045c569c
commit
2b8a7278cc
@ -1,14 +1,14 @@
|
|||||||
use reqwest;
|
use reqwest;
|
||||||
use serde_json;
|
use serde_json;
|
||||||
use std::{collections::HashMap, error::Error};
|
use std::error::Error;
|
||||||
use reqwest::header::USER_AGENT;
|
use reqwest::header::USER_AGENT;
|
||||||
|
|
||||||
pub struct Address {
|
pub struct Address {
|
||||||
street: String,
|
pub street: String,
|
||||||
city: String,
|
pub city: String,
|
||||||
state: String,
|
pub state: String,
|
||||||
country: String,
|
pub country: String,
|
||||||
postalcode: String
|
pub postalcode: String
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Address {
|
impl Address {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user