pub struct MirrorTargetView {
pub created_at: Option<String>,
pub host: Option<String>,
pub id: Option<String>,
pub repo: Option<String>,
pub url: Option<String>,
}Fields§
§created_at: Option<String>CreatedAt is RFC 3339 UTC.
host: Option<String>Host is the target’s lowercased hostname, taken from URL and never the body.
id: Option<String>ID is the target’s identifier ("mir_…"), the handle to remove it by.
repo: Option<String>Repo is the repo whose advanced refs are pushed downstream.
url: Option<String>URL is the canonical https remote, with any embedded credentials stripped.
Implementations§
Source§impl MirrorTargetView
impl MirrorTargetView
pub fn new() -> MirrorTargetView
Trait Implementations§
Source§impl Clone for MirrorTargetView
impl Clone for MirrorTargetView
Source§fn clone(&self) -> MirrorTargetView
fn clone(&self) -> MirrorTargetView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MirrorTargetView
impl Debug for MirrorTargetView
Source§impl Default for MirrorTargetView
impl Default for MirrorTargetView
Source§fn default() -> MirrorTargetView
fn default() -> MirrorTargetView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MirrorTargetView
impl<'de> Deserialize<'de> for MirrorTargetView
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 MirrorTargetView
impl PartialEq for MirrorTargetView
Source§impl Serialize for MirrorTargetView
impl Serialize for MirrorTargetView
impl StructuralPartialEq for MirrorTargetView
Auto Trait Implementations§
impl Freeze for MirrorTargetView
impl RefUnwindSafe for MirrorTargetView
impl Send for MirrorTargetView
impl Sync for MirrorTargetView
impl Unpin for MirrorTargetView
impl UnsafeUnpin for MirrorTargetView
impl UnwindSafe for MirrorTargetView
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