Struct octorust::types::ReposDeleteFileRequest [−][src]
pub struct ReposDeleteFileRequest { pub author: Option<ReposDeleteFileRequestAuthor>, pub branch: String, pub committer: Option<ReposDeleteFileRequestCommitter>, pub message: String, pub sha: String, }
Fields
object containing information about the author.
branch: String
The branch name. Default: the repository’s default branch (usually master
)
committer: Option<ReposDeleteFileRequestCommitter>
object containing information about the committer.
message: String
The commit message.
sha: String
The blob SHA of the file being replaced.
Trait Implementations
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 RefUnwindSafe for ReposDeleteFileRequest
impl Send for ReposDeleteFileRequest
impl Sync for ReposDeleteFileRequest
impl Unpin for ReposDeleteFileRequest
impl UnwindSafe for ReposDeleteFileRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more