allow public uses of structs; add sample program
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#[derive(Debug, Eq, PartialEq)]
|
||||
pub struct Dialogue {
|
||||
pub(crate) id: String,
|
||||
pub(crate) contents: String,
|
||||
pub id: String,
|
||||
pub contents: String,
|
||||
}
|
||||
|
||||
impl From<String> for Dialogue {
|
||||
|
||||
Reference in New Issue
Block a user