✨ feat(gmail_client): add rule field to GmailClient struct
- Add rule field to GmailClient struct to store EolAction.
This commit is contained in:
committed by
Jeremiah Russell
parent
5a1f834a4f
commit
3d7f76b876
@@ -28,6 +28,7 @@ pub struct GmailClient {
|
|||||||
pub(crate) label_ids: Vec<String>,
|
pub(crate) label_ids: Vec<String>,
|
||||||
pub(crate) query: String,
|
pub(crate) query: String,
|
||||||
pub(crate) messages: Vec<MessageSummary>,
|
pub(crate) messages: Vec<MessageSummary>,
|
||||||
|
pub(crate) rule: Option<crate::EolAction>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl std::fmt::Debug for GmailClient {
|
impl std::fmt::Debug for GmailClient {
|
||||||
@@ -78,6 +79,7 @@ impl GmailClient {
|
|||||||
label_ids: Vec::new(),
|
label_ids: Vec::new(),
|
||||||
query: String::new(),
|
query: String::new(),
|
||||||
messages: Vec::new(),
|
messages: Vec::new(),
|
||||||
|
rule: None,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user