Add setters to MediaVenue

This commit is contained in:
Temirkhan Myrzamadi 2020-07-28 14:58:34 +06:00
parent f7769d0d97
commit e1e0bd2d89

View file

@ -1037,6 +1037,17 @@ pub struct MediaVenue {
pub venue: Venue,
}
impl MediaVenue {
pub fn new(venue: Venue) -> Self {
Self { venue }
}
pub fn venue(mut self, val: Venue) -> Self {
self.venue = val;
self
}
}
mod getters {
use std::ops::Deref;