pub struct IsBinaryFile {
pub base: Option<bool>,
pub destination: Option<bool>,
pub source: Option<bool>,
}Expand description
Information about whether a file is binary or textual in a merge or pull request operation.
Fields§
§base: Option<bool>The binary or non-binary status of a file in the base of a merge or pull request.
destination: Option<bool>The binary or non-binary status of a file in the destination of a merge or pull request.
source: Option<bool>The binary or non-binary status of file in the source of a merge or pull request.
Trait Implementations§
Source§impl Clone for IsBinaryFile
impl Clone for IsBinaryFile
Source§fn clone(&self) -> IsBinaryFile
fn clone(&self) -> IsBinaryFile
Returns a duplicate 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 IsBinaryFile
impl Debug for IsBinaryFile
Source§impl Default for IsBinaryFile
impl Default for IsBinaryFile
Source§fn default() -> IsBinaryFile
fn default() -> IsBinaryFile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IsBinaryFile
impl<'de> Deserialize<'de> for IsBinaryFile
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 IsBinaryFile
impl PartialEq for IsBinaryFile
impl StructuralPartialEq for IsBinaryFile
Auto Trait Implementations§
impl Freeze for IsBinaryFile
impl RefUnwindSafe for IsBinaryFile
impl Send for IsBinaryFile
impl Sync for IsBinaryFile
impl Unpin for IsBinaryFile
impl UnwindSafe for IsBinaryFile
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