move rhai wrappers of models from rhailib
This commit is contained in:
11
heromodels/src/models/location/address.rs
Normal file
11
heromodels/src/models/location/address.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct Address {
|
||||
pub street: String,
|
||||
pub city: String,
|
||||
pub state: Option<String>,
|
||||
pub postal_code: String,
|
||||
pub country: String,
|
||||
pub company: Option<String>,
|
||||
}
|
2
heromodels/src/models/location/mod.rs
Normal file
2
heromodels/src/models/location/mod.rs
Normal file
@@ -0,0 +1,2 @@
|
||||
// Export location models
|
||||
pub mod address;
|
Reference in New Issue
Block a user