pub struct FlakeRefParameters { /* private fields */ }
Implementations§
Source§impl FlakeRefParameters
impl FlakeRefParameters
pub fn dir(&mut self, dir: Option<String>) -> &mut Self
pub fn nar_hash(&mut self, nar_hash: Option<String>) -> &mut Self
pub fn host(&mut self, host: Option<String>) -> &mut Self
pub fn rev(&mut self, rev: Option<String>) -> &mut Self
pub fn ref(&mut self, ref: Option<String>) -> &mut Self
pub fn set_dir(&mut self, dir: Option<String>)
pub fn set_nar_hash(&mut self, nar_hash: Option<String>)
pub fn set_rev(&mut self, rev: Option<String>)
pub fn set_ref(&mut self, ref: Option<String>)
pub fn set_host(&mut self, host: Option<String>)
pub fn rev_count_mut(&mut self) -> &mut Option<String>
pub fn set_branch(&mut self, branch: Option<String>)
pub fn set_submodules(&mut self, submodules: Option<String>)
pub fn set_shallow(&mut self, shallow: Option<String>)
pub fn add_arbitrary(&mut self, arbitrary: (String, String))
pub fn get_rev(&self) -> Option<&String>
pub fn get_ref(&self) -> Option<&String>
Trait Implementations§
Source§impl Clone for FlakeRefParameters
impl Clone for FlakeRefParameters
Source§fn clone(&self) -> FlakeRefParameters
fn clone(&self) -> FlakeRefParameters
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 FlakeRefParameters
impl Debug for FlakeRefParameters
Source§impl Default for FlakeRefParameters
impl Default for FlakeRefParameters
Source§fn default() -> FlakeRefParameters
fn default() -> FlakeRefParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FlakeRefParameters
impl<'de> Deserialize<'de> for FlakeRefParameters
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 Display for FlakeRefParameters
impl Display for FlakeRefParameters
Source§impl PartialEq for FlakeRefParameters
impl PartialEq for FlakeRefParameters
Source§impl Serialize for FlakeRefParameters
impl Serialize for FlakeRefParameters
impl Eq for FlakeRefParameters
impl StructuralPartialEq for FlakeRefParameters
Auto Trait Implementations§
impl Freeze for FlakeRefParameters
impl RefUnwindSafe for FlakeRefParameters
impl Send for FlakeRefParameters
impl Sync for FlakeRefParameters
impl Unpin for FlakeRefParameters
impl UnwindSafe for FlakeRefParameters
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