make members of address public

This commit is contained in:
Liam Fitzpatrick 2024-06-21 09:53:16 -04:00
parent 6e045c569c
commit 2b8a7278cc

View File

@ -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 {