Struct forgejo_api::structs::PushMirror
source · pub struct PushMirror {
pub created: Option<OffsetDateTime>,
pub interval: Option<String>,
pub last_error: Option<String>,
pub last_update: Option<OffsetDateTime>,
pub remote_address: Option<String>,
pub remote_name: Option<String>,
pub repo_name: Option<String>,
pub sync_on_commit: Option<bool>,
}Expand description
PushMirror represents information of a push mirror
Fields§
§created: Option<OffsetDateTime>§interval: Option<String>§last_error: Option<String>§last_update: Option<OffsetDateTime>§remote_address: Option<String>§remote_name: Option<String>§repo_name: Option<String>§sync_on_commit: Option<bool>Trait Implementations§
source§impl Clone for PushMirror
impl Clone for PushMirror
source§fn clone(&self) -> PushMirror
fn clone(&self) -> PushMirror
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PushMirror
impl Debug for PushMirror
source§impl<'de> Deserialize<'de> for PushMirror
impl<'de> Deserialize<'de> for PushMirror
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
source§impl PartialEq for PushMirror
impl PartialEq for PushMirror
source§fn eq(&self, other: &PushMirror) -> bool
fn eq(&self, other: &PushMirror) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PushMirror
impl Serialize for PushMirror
impl StructuralPartialEq for PushMirror
Auto Trait Implementations§
impl Freeze for PushMirror
impl RefUnwindSafe for PushMirror
impl Send for PushMirror
impl Sync for PushMirror
impl Unpin for PushMirror
impl UnwindSafe for PushMirror
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