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 serde_json;
use std::{collections::HashMap, error::Error};
use std::error::Error;
use reqwest::header::USER_AGENT;
pub struct Address {
street: String,
city: String,
state: String,
country: String,
postalcode: String
pub street: String,
pub city: String,
pub state: String,
pub country: String,
pub postalcode: String
}
impl Address {