pub struct ActionsCreateRepoVariableRequest {
pub name: String,
pub value: String,
}
Fields§
§name: String
The name of the variable.
value: String
The value of the variable.
Implementations§
Source§impl ActionsCreateRepoVariableRequest
impl ActionsCreateRepoVariableRequest
pub fn new(name: String, value: String) -> ActionsCreateRepoVariableRequest
Trait Implementations§
Source§impl Clone for ActionsCreateRepoVariableRequest
impl Clone for ActionsCreateRepoVariableRequest
Source§fn clone(&self) -> ActionsCreateRepoVariableRequest
fn clone(&self) -> ActionsCreateRepoVariableRequest
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 Default for ActionsCreateRepoVariableRequest
impl Default for ActionsCreateRepoVariableRequest
Source§fn default() -> ActionsCreateRepoVariableRequest
fn default() -> ActionsCreateRepoVariableRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActionsCreateRepoVariableRequest
impl<'de> Deserialize<'de> for ActionsCreateRepoVariableRequest
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 ActionsCreateRepoVariableRequest
impl PartialEq for ActionsCreateRepoVariableRequest
Source§fn eq(&self, other: &ActionsCreateRepoVariableRequest) -> bool
fn eq(&self, other: &ActionsCreateRepoVariableRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ActionsCreateRepoVariableRequest
Auto Trait Implementations§
impl Freeze for ActionsCreateRepoVariableRequest
impl RefUnwindSafe for ActionsCreateRepoVariableRequest
impl Send for ActionsCreateRepoVariableRequest
impl Sync for ActionsCreateRepoVariableRequest
impl Unpin for ActionsCreateRepoVariableRequest
impl UnwindSafe for ActionsCreateRepoVariableRequest
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