#[non_exhaustive]pub struct SinglePackageChange {
pub package_description: String,
pub package_body: String,
/* private fields */
}Expand description
Options to configure rule type SinglePackageChange. The rule is used to alter the sql code for a package entities.
The rule filter field can refer to one entity.
The rule scope can be: Package
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.package_description: StringOptional. Sql code for package description
package_body: StringOptional. Sql code for package body
Implementations§
Source§impl SinglePackageChange
impl SinglePackageChange
pub fn new() -> Self
Sourcepub fn set_package_description<T: Into<String>>(self, v: T) -> Self
pub fn set_package_description<T: Into<String>>(self, v: T) -> Self
Sets the value of package_description.
Sourcepub fn set_package_body<T: Into<String>>(self, v: T) -> Self
pub fn set_package_body<T: Into<String>>(self, v: T) -> Self
Sets the value of package_body.
Trait Implementations§
Source§impl Clone for SinglePackageChange
impl Clone for SinglePackageChange
Source§fn clone(&self) -> SinglePackageChange
fn clone(&self) -> SinglePackageChange
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 SinglePackageChange
impl Debug for SinglePackageChange
Source§impl Default for SinglePackageChange
impl Default for SinglePackageChange
Source§fn default() -> SinglePackageChange
fn default() -> SinglePackageChange
Returns the “default value” for a type. Read more
Source§impl Message for SinglePackageChange
impl Message for SinglePackageChange
Source§impl PartialEq for SinglePackageChange
impl PartialEq for SinglePackageChange
impl StructuralPartialEq for SinglePackageChange
Auto Trait Implementations§
impl Freeze for SinglePackageChange
impl RefUnwindSafe for SinglePackageChange
impl Send for SinglePackageChange
impl Sync for SinglePackageChange
impl Unpin for SinglePackageChange
impl UnwindSafe for SinglePackageChange
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