Struct attck::Tool [−][src]
Fields
base: Tool
mitre: MitreTool
Implementations
impl Tool
[src]
pub fn name(&self) -> &str
[src]
pub fn description(&self) -> Option<&str>
[src]
pub fn mitre_id(&self) -> Option<&str>
[src]
Gets the MITRE ID for this tool, such as S0066
.
Trait Implementations
impl AsRef<CommonProperties> for Tool
[src]
fn as_ref(&self) -> &CommonProperties
[src]
impl<'a> AsRef<Tool> for Node<'a, Tool>
[src]
impl<'de> Deserialize<'de> for Tool
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl TypedObject for Tool
[src]
Auto Trait Implementations
impl RefUnwindSafe for Tool
impl Send for Tool
impl Sync for Tool
impl Unpin for Tool
impl UnwindSafe for Tool
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Object for T where
T: AsRef<CommonProperties>,
[src]
T: AsRef<CommonProperties>,
pub fn id(&self) -> &Id
[src]
pub fn created_by_ref(&self) -> Option<&Id>
[src]
pub fn revoked(&self) -> bool
[src]
pub fn labels(&self) -> &BTreeSet<String>
[src]
pub fn object_marking_refs(&self) -> &BTreeSet<Id>
[src]
pub fn external_references(&self) -> &[ExternalReference]
[src]
pub fn created(&self) -> Option<&DateTime<Utc>>
[src]
pub fn modified(&self) -> Option<&DateTime<Utc>>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,