pub struct PushConfig {
pub pushes: Vec<PushSource>,
}Expand description
Top-level push configuration parsed from .tsafe.yml or .tsafe.json.
When pushes: is absent from the config file, serde returns a deserialisation
error — the caller (cmd_push) converts this into an actionable message:
“no pushes: key found in config — add a pushes: section to .tsafe.yml”.
Fields§
§pushes: Vec<PushSource>Trait Implementations§
Source§impl Debug for PushConfig
impl Debug for PushConfig
Source§impl<'de> Deserialize<'de> for PushConfig
impl<'de> Deserialize<'de> for PushConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PushConfig
impl RefUnwindSafe for PushConfig
impl Send for PushConfig
impl Sync for PushConfig
impl Unpin for PushConfig
impl UnsafeUnpin for PushConfig
impl UnwindSafe for PushConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more